Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000882/0.000882, allocations: 89.59 kB / 16.65 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009453/0.0009455, allocations: 180.5 kB / 17.57 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.000496, allocations: 12 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 47.6 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.009187/0.1126, allocations: 8.415 MB / 336.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005588/0.1182, allocations: 3.144 MB / 339.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.1194, allocations: 35.81 kB / 339.9 MB, free: 8.102 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.1208, allocations: 0.5982 MB / 340.5 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.1226, allocations: 0.6295 MB / 341.2 MB, free: 6.867 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.1233, allocations: 287.6 kB / 341.4 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.1255, allocations: 2.425 MB / 343.9 MB, free: 4.152 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.127, allocations: 1.16 MB / 345 MB, free: 2.949 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.128, allocations: 0.7078 MB / 345.7 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.1292, allocations: 0.9919 MB / 346.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.1294, allocations: 104 kB / 346.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.1299, allocations: 199.8 kB / 347 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005178/0.1304, allocations: 0.5334 MB / 347.5 MB, free: 420 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.1315, allocations: 0.9422 MB / 348.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.1341, allocations: 2.919 MB / 351.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1342, allocations: 4 kB / 351.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1342, allocations: 4 kB / 351.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.147e-05/0.1342, allocations: 4 kB / 351.4 MB, free: 12.52 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.003834/0.1381, allocations: 1.919 MB / 353.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.1381, allocations: 12.03 kB / 353.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006307/0.1388, allocations: 230.4 kB / 353.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.1406, allocations: 1.142 MB / 354.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.1407, allocations: 119.4 kB / 354.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.141, allocations: 159.8 kB / 355 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003699/0.1447, allocations: 2.008 MB / 357 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.066e-05/0.1448, allocations: 7.984 kB / 357 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.1449, allocations: 60 kB / 357.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.605e-05/0.145, allocations: 78.92 kB / 357.1 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/0.1477, allocations: 1.651 MB / 358.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.158, allocations: 6.975 MB / 365.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.1588, allocations: 449.1 kB / 366.2 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.1592, allocations: 258 kB / 366.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.1594, allocations: 121.5 kB / 366.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1595, allocations: 35 kB / 366.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 2.495e-06/0.1595, allocations: 0 / 366.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007141/0.1666, allocations: 3.296 MB / 369.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002374/0.169, allocations: 2.182 MB / 372.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/0.1714, allocations: 1.619 MB / 373.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/0.1715, allocations: 37.7 kB / 373.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007535/0.1723, allocations: 1.01 MB / 374.8 MB, free: 4.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.1725, allocations: 240.8 kB / 375 MB, free: 4.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.1727, allocations: 129.6 kB / 375.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.1728, allocations: 305.1 kB / 375.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007873/0.1736, allocations: 0.5153 MB / 375.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.175, allocations: 1.468 MB / 377.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2319/0.4069, allocations: 2.131 MB / 379.5 MB, free: 48.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.832e-05/0.407, allocations: 8.906 kB / 379.5 MB, free: 48.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.0061/0.4131, allocations: 2.153 MB / 381.7 MB, free: 48.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.4132, allocations: 19.22 kB / 381.7 MB, free: 48.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/0.4132, allocations: 36.34 kB / 381.7 MB, free: 48.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/0.4138, allocations: 233.1 kB / 382 MB, free: 48.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.415, allocations: 394.4 kB / 382.4 MB, free: 48.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.4168, allocations: 1.72 MB / 384.1 MB, free: 47.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.4186, allocations: 137.5 kB / 384.2 MB, free: 47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.4187, allocations: 94.5 kB / 384.3 MB, free: 47 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001142/0.4199, allocations: 0.5891 MB / 384.9 MB, free: 46.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/0.4203, allocations: 156 kB / 385 MB, free: 46.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.4225, allocations: 1.11 MB / 386.2 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.4226, allocations: 6.594 kB / 386.2 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.4226, allocations: 1.75 kB / 386.2 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.4226, allocations: 2.812 kB / 386.2 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006693/0.4293, allocations: 3.389 MB / 389.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.4294, allocations: 4 kB / 389.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004419/0.4298, allocations: 111.6 kB / 389.7 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006935/0.4305, allocations: 235 kB / 389.9 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.4306, allocations: 18.44 kB / 389.9 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/0.4339, allocations: 3.696 MB / 393.6 MB, free: 41.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001623/0.4356, allocations: 2.017 MB / 395.6 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.4384, allocations: 1.741 MB / 397.4 MB, free: 39.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/0.4392, allocations: 306.2 kB / 397.7 MB, free: 38.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.4394, allocations: 17.62 kB / 397.7 MB, free: 38.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.44, allocations: 51.8 kB / 397.7 MB, free: 38.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.4402, allocations: 64.95 kB / 397.8 MB, free: 38.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/0.4403, allocations: 26 kB / 397.8 MB, free: 38.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001737/0.442, allocations: 1.077 MB / 398.9 MB, free: 38.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.442, allocations: 0 / 398.9 MB, free: 38.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001975/0.444, allocations: 381.2 kB / 399.3 MB, free: 38.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003808/0.4444, allocations: 178.5 kB / 399.5 MB, free: 38.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002354/0.4467, allocations: 1.6 MB / 401.1 MB, free: 37.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4468, allocations: 0 / 401.1 MB, free: 37.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.4479, allocations: 0.8493 MB / 401.9 MB, free: 36.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/0.4508, allocations: 389.3 kB / 402.3 MB, free: 36.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.4555, allocations: 3.883 MB / 406.2 MB, free: 33.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008882/0.4564, allocations: 1.472 MB / 407.6 MB, free: 32.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001129/0.4575, allocations: 358 kB / 408 MB, free: 31.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.4578, allocations: 107.4 kB / 408.1 MB, free: 31.68 MB / 318.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4578, allocations: 0 / 408.1 MB, free: 31.68 MB / 318.1 MB Notification: Performance of Templates: time 0.03485/0.4926, allocations: 19.36 MB / 427.5 MB, free: 12.31 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)