Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004514/0.004514, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03743/0.03743, allocations: 8.796 MB / 24.65 MB, free: 4.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 223.2 MB / 250.7 MB, free: 6.535 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008101/0.0008101, allocations: 99.88 kB / 304 MB, free: 4 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 12 kB / 367.1 MB, free: 4.934 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2169, allocations: 52.54 MB / 419.6 MB, free: 48.12 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.3428, allocations: 117 MB / 0.5241 GB, free: 3.984 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.343, allocations: 83.97 kB / 0.5241 GB, free: 3.902 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4879/0.831, allocations: 158.2 MB / 0.6786 GB, free: 24.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.831, allocations: 4 kB / 0.6786 GB, free: 24.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001943/0.8312, allocations: 87.92 kB / 0.6787 GB, free: 24.8 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.01003/0.8412, allocations: 4.026 MB / 0.6826 GB, free: 20.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.8413, allocations: 12.56 kB / 0.6826 GB, free: 20.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00492/0.8462, allocations: 0.8772 MB / 0.6835 GB, free: 19.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007573/0.8538, allocations: 3.647 MB / 0.6871 GB, free: 16.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.854, allocations: 279.4 kB / 0.6873 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005542/0.8546, allocations: 367.9 kB / 0.6877 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006246/0.8608, allocations: 4.678 MB / 0.6922 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-05/0.8609, allocations: 7.938 kB / 0.6922 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/0.8612, allocations: 156 kB / 0.6924 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.927e-05/0.8613, allocations: 155.3 kB / 0.6925 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005285/0.8666, allocations: 3.808 MB / 0.6963 GB, free: 6.555 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/0.8871, allocations: 15.78 MB / 0.7117 GB, free: 6.277 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005801/0.8929, allocations: 6.995 MB / 0.7185 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006288/0.8992, allocations: 3.521 MB / 0.7219 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.8993, allocations: 59.81 kB / 0.722 GB, free: 10.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=148): time 2.736e-06/0.8993, allocations: 0 / 0.722 GB, free: 10.69 MB / 458.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[3]) - smee.is[2] - smee.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=180): time 0.01374/0.913, allocations: 7.259 MB / 0.7291 GB, free: 3.277 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.9131, allocations: 73.41 kB / 0.7292 GB, free: 3.191 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/0.9163, allocations: 1.89 MB / 0.731 GB, free: 1.273 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.9165, allocations: 53.7 kB / 0.7311 GB, free: 1.215 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1796/1.096, allocations: 1.695 MB / 0.7327 GB, free: 76.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007563/1.097, allocations: 0.6168 MB / 0.7333 GB, free: 76.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/1.097, allocations: 44.62 kB / 0.7334 GB, free: 76.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/1.097, allocations: 395.6 kB / 0.7337 GB, free: 76.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/1.099, allocations: 0.886 MB / 0.7346 GB, free: 76.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/1.101, allocations: 1.606 MB / 0.7362 GB, free: 75.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/1.102, allocations: 1.183 MB / 0.7373 GB, free: 75.46 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/1.102, allocations: 6.531 kB / 0.7373 GB, free: 75.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.004283/1.106, allocations: 3.158 MB / 0.7404 GB, free: 75.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.106, allocations: 17.16 kB / 0.7404 GB, free: 75.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/1.107, allocations: 22.12 kB / 0.7404 GB, free: 75.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009364/1.107, allocations: 454.2 kB / 0.7409 GB, free: 75.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/1.109, allocations: 0.4982 MB / 0.7414 GB, free: 75.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004891/1.114, allocations: 4.819 MB / 0.7461 GB, free: 73.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/1.116, allocations: 101.6 kB / 0.7462 GB, free: 73.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/1.116, allocations: 102.1 kB / 0.7463 GB, free: 73.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001819/1.118, allocations: 1.145 MB / 0.7474 GB, free: 73.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004353/1.118, allocations: 239 kB / 0.7476 GB, free: 73.59 MB / 458.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[3]) - smee.is[2] - smee.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/1.122, allocations: 2.69 MB / 0.7502 GB, free: 73.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.122, allocations: 18.94 kB / 0.7503 GB, free: 73.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.122, allocations: 2.688 kB / 0.7503 GB, free: 73.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/1.122, allocations: 6.984 kB / 0.7503 GB, free: 73.24 MB / 458.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[3]) - smee.is[2] - smee.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008547/1.131, allocations: 6.248 MB / 0.7564 GB, free: 72.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.131, allocations: 7.641 kB / 0.7564 GB, free: 72.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.132, allocations: 303.6 kB / 0.7567 GB, free: 72.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000878/1.133, allocations: 435 kB / 0.7571 GB, free: 72.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.133, allocations: 43.53 kB / 0.7571 GB, free: 72.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005897/1.139, allocations: 7.591 MB / 0.7645 GB, free: 68.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.139, allocations: 2.25 kB / 0.7645 GB, free: 68.27 MB / 458.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[3]) - smee.is[2] - smee.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/1.145, allocations: 3.985 MB / 0.7684 GB, free: 67.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.146, allocations: 0.5031 MB / 0.7689 GB, free: 67.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000387/1.146, allocations: 40.8 kB / 0.769 GB, free: 67.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.147, allocations: 79.69 kB / 0.769 GB, free: 67.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/1.148, allocations: 129.8 kB / 0.7692 GB, free: 67.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.148, allocations: 51.58 kB / 0.7692 GB, free: 67.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002007/1.15, allocations: 1.43 MB / 0.7706 GB, free: 67.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.15, allocations: 0 / 0.7706 GB, free: 67.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002268/1.152, allocations: 0.7316 MB / 0.7713 GB, free: 67.15 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (smee.is[3],smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.zeroInductor.i0,constantTorque.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 28,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005105/1.152, allocations: 371.7 kB / 0.7717 GB, free: 67.06 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003392/1.156, allocations: 2.648 MB / 0.7743 GB, free: 66.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/1.156, allocations: 3.188 kB / 0.7743 GB, free: 66.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/1.158, allocations: 1.487 MB / 0.7757 GB, free: 66.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/1.16, allocations: 0.5346 MB / 0.7762 GB, free: 66.47 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/1.17, allocations: 8.017 MB / 0.7841 GB, free: 63.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/1.172, allocations: 2.609 MB / 0.7866 GB, free: 62.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001928/1.174, allocations: 0.5327 MB / 0.7871 GB, free: 62.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/1.174, allocations: 159.1 kB / 0.7873 GB, free: 62.22 MB / 458.7 MB Notification: Performance of SimCode: time 8.02e-07/1.174, allocations: 4 kB / 0.7873 GB, free: 62.21 MB / 458.7 MB Notification: Performance of Templates: time 0.05099/1.225, allocations: 33.91 MB / 0.8204 GB, free: 60.76 MB / 458.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1)