Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.009348/0.009348, allocations: 102 kB / 15.73 MB, free: 6.035 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.001739/0.00174, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.766/1.766, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.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.001386/0.001386, allocations: 47.03 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1254, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01412/0.1396, allocations: 8.953 MB / 382.1 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007682/0.1473, allocations: 3.21 MB / 385.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.1495, allocations: 35.88 kB / 385.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.1522, allocations: 0.6678 MB / 386 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003177/0.1554, allocations: 0.7067 MB / 386.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.157, allocations: 331.4 kB / 387.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003352/0.1603, allocations: 2.109 MB / 389.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.1627, allocations: 1.394 MB / 390.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.1645, allocations: 0.907 MB / 391.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.1668, allocations: 1.125 MB / 392.6 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007376/0.1676, allocations: 232 kB / 392.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.1688, allocations: 319.8 kB / 393.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.1699, allocations: 0.6817 MB / 393.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.172, allocations: 1.077 MB / 394.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003947/0.1759, allocations: 3.107 MB / 398 MB, free: 8.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1759, allocations: 0 / 398 MB, free: 8.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1759, allocations: 0 / 398 MB, free: 8.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001194/0.1761, allocations: 0 / 398 MB, free: 8.316 MB / 334.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.005681/0.1818, allocations: 2.273 MB / 400.3 MB, free: 5.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1818, allocations: 11.89 kB / 400.3 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006841/0.1825, allocations: 234.4 kB / 400.5 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.1846, allocations: 1.157 MB / 401.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/0.1847, allocations: 119.4 kB / 401.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.185, allocations: 151.9 kB / 402 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/0.1883, allocations: 2.004 MB / 404 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.748e-05/0.1883, allocations: 7.906 kB / 404 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.1885, allocations: 64 kB / 404 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.992e-05/0.1886, allocations: 74.92 kB / 404.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.1912, allocations: 1.651 MB / 405.8 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.2033, allocations: 6.905 MB / 412.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009025/0.2043, allocations: 444.8 kB / 413.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/0.2047, allocations: 262 kB / 413.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.205, allocations: 117.5 kB / 413.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.2051, allocations: 31 kB / 413.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.686e-06/0.2051, allocations: 0 / 413.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.008357/0.2134, allocations: 3.292 MB / 416.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002622/0.2161, allocations: 2.326 MB / 419.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.2188, allocations: 1.615 MB / 420.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.2189, allocations: 37.7 kB / 420.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007574/0.2197, allocations: 1.022 MB / 421.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.2199, allocations: 240.8 kB / 422 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004317/0.2203, allocations: 319.1 kB / 422.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2205, allocations: 301.1 kB / 422.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007873/0.2213, allocations: 0.5231 MB / 423.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.2228, allocations: 1.461 MB / 424.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/0.2252, allocations: 2.145 MB / 426.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.2252, allocations: 16 kB / 426.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003558/0.2288, allocations: 2.153 MB / 428.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.2288, allocations: 20 kB / 428.9 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.2288, allocations: 32 kB / 429 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005591/0.2294, allocations: 230.8 kB / 429.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.2306, allocations: 395.3 kB / 429.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.2324, allocations: 1.847 MB / 431.4 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.2338, allocations: 139.7 kB / 431.6 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.2339, allocations: 95.98 kB / 431.7 MB, free: 4.723 MB / 366.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.0009326/0.2349, allocations: 0.5906 MB / 432.3 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.2351, allocations: 154.1 kB / 432.4 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.2371, allocations: 1.106 MB / 433.5 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.2371, allocations: 15.98 kB / 433.5 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2371, allocations: 0 / 433.5 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2371, allocations: 0 / 433.5 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005272/0.2424, allocations: 3.39 MB / 436.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.2424, allocations: 4 kB / 436.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.2428, allocations: 112.5 kB / 437 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006137/0.2435, allocations: 230.3 kB / 437.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.2435, allocations: 16 kB / 437.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003987/0.2475, allocations: 4.062 MB / 441.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002045/0.2496, allocations: 2.157 MB / 443.5 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.2522, allocations: 1.743 MB / 445.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.2528, allocations: 311.1 kB / 445.5 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.2529, allocations: 19.94 kB / 445.6 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006659/0.2536, allocations: 52 kB / 445.6 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.2538, allocations: 63.8 kB / 445.7 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.2538, allocations: 20 kB / 445.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001571/0.2554, allocations: 1.074 MB / 446.8 MB, free: 4.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2554, allocations: 0 / 446.8 MB, free: 4.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001597/0.257, allocations: 383.9 kB / 447.1 MB, free: 4.508 MB / 382.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.0003212/0.2573, allocations: 167 kB / 447.3 MB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.2598, allocations: 1.617 MB / 448.9 MB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.2599, allocations: 4 kB / 448.9 MB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.2612, allocations: 0.8671 MB / 449.8 MB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.263, allocations: 409.8 kB / 450.2 MB, free: 1.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2332/0.4963, allocations: 3.155 MB / 453.3 MB, free: 69.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/0.4981, allocations: 1.473 MB / 454.8 MB, free: 68.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001606/0.4997, allocations: 353.5 kB / 455.2 MB, free: 68.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.5001, allocations: 110.1 kB / 455.3 MB, free: 68.56 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5001, allocations: 0 / 455.3 MB, free: 68.56 MB / 382.1 MB Notification: Performance of Templates: time 0.04256/0.5427, allocations: 20.89 MB / 476.2 MB, free: 58.49 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)