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.008164/0.008164, allocations: 96.64 kB / 15.73 MB, free: 6.055 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.001485/0.001485, allocations: 194.5 kB / 16.67 MB, free: 5.977 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.897/1.897, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001192/0.001192, allocations: 50.83 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1126, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.0116/0.1243, allocations: 8.96 MB / 382.1 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00737/0.1317, allocations: 3.206 MB / 385.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.1336, allocations: 35.81 kB / 385.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.1362, allocations: 0.7186 MB / 386.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003627/0.1398, allocations: 0.7458 MB / 386.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.1412, allocations: 323.5 kB / 387.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004311/0.1455, allocations: 2.109 MB / 389.3 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.1478, allocations: 1.394 MB / 390.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.1498, allocations: 0.9187 MB / 391.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.1524, allocations: 1.125 MB / 392.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006367/0.1531, allocations: 228 kB / 392.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.1542, allocations: 323.8 kB / 393.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008008/0.155, allocations: 0.6739 MB / 393.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.1568, allocations: 1.089 MB / 395 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005061/0.1618, allocations: 3.118 MB / 398.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.1619, allocations: 0 / 398.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1619, allocations: 0 / 398.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001152/0.162, allocations: 4 kB / 398.1 MB, free: 8.207 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.006542/0.1686, allocations: 2.318 MB / 400.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.983e-05/0.1687, allocations: 11.89 kB / 400.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009774/0.1697, allocations: 231.6 kB / 400.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/0.1728, allocations: 1.177 MB / 401.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.173, allocations: 119.4 kB / 402 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/0.1733, allocations: 155.9 kB / 402.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.1765, allocations: 2.004 MB / 404.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.087e-05/0.1766, allocations: 3.953 kB / 404.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.1767, allocations: 71.92 kB / 404.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.1768, allocations: 78.91 kB / 404.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.1795, allocations: 1.643 MB / 405.9 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.1899, allocations: 6.915 MB / 412.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/0.1907, allocations: 453 kB / 413.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.1911, allocations: 269.9 kB / 413.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/0.1913, allocations: 113.5 kB / 413.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1914, allocations: 46.92 kB / 413.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.1914, allocations: 0 / 413.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007208/0.1986, allocations: 3.307 MB / 417 MB, free: 4.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002564/0.2012, allocations: 2.33 MB / 419.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/0.2037, allocations: 1.623 MB / 421 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.2038, allocations: 33.7 kB / 421 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007814/0.2046, allocations: 1.053 MB / 422.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.2049, allocations: 246 kB / 422.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/0.2053, allocations: 327.3 kB / 422.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2054, allocations: 301.1 kB / 422.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000752/0.2062, allocations: 0.5114 MB / 423.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.2077, allocations: 1.472 MB / 424.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/0.2102, allocations: 2.141 MB / 427 MB, free: 9.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.2102, allocations: 8 kB / 427 MB, free: 9.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003781/0.214, allocations: 2.166 MB / 429.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.214, allocations: 20 kB / 429.2 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/0.2141, allocations: 39.98 kB / 429.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.2147, allocations: 223 kB / 429.5 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.2158, allocations: 395.2 kB / 429.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.2178, allocations: 1.844 MB / 431.7 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.2194, allocations: 139.6 kB / 431.8 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.2195, allocations: 99.98 kB / 431.9 MB, free: 4.453 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.001124/0.2206, allocations: 0.5906 MB / 432.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/0.221, allocations: 159 kB / 432.7 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.223, allocations: 1.117 MB / 433.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.2231, allocations: 4 kB / 433.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.2231, allocations: 4 kB / 433.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.2231, allocations: 3.984 kB / 433.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005967/0.2291, allocations: 3.386 MB / 437.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.2291, allocations: 12.66 kB / 437.2 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/0.2296, allocations: 111.8 kB / 437.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006198/0.2302, allocations: 226.4 kB / 437.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.2302, allocations: 19.98 kB / 437.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004402/0.2347, allocations: 4.05 MB / 441.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002497/0.2372, allocations: 2.17 MB / 443.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.24, allocations: 1.759 MB / 445.5 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007658/0.2408, allocations: 315.9 kB / 445.9 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.241, allocations: 23.92 kB / 445.9 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/0.2417, allocations: 48.02 kB / 445.9 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.2418, allocations: 63.8 kB / 446 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.2419, allocations: 28 kB / 446 MB, free: 5.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001603/0.2435, allocations: 1.07 MB / 447.1 MB, free: 4.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2435, allocations: 0 / 447.1 MB, free: 4.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00184/0.2453, allocations: 383.9 kB / 447.5 MB, free: 4.203 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.0003459/0.2457, allocations: 175.1 kB / 447.6 MB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.2482, allocations: 1.613 MB / 449.2 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2482, allocations: 0 / 449.2 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.2497, allocations: 0.8634 MB / 450.1 MB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.2515, allocations: 397.6 kB / 450.5 MB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2015/0.4531, allocations: 3.216 MB / 453.7 MB, free: 69.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.4544, allocations: 1.468 MB / 455.2 MB, free: 68.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001089/0.4555, allocations: 349.3 kB / 455.5 MB, free: 68.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.4558, allocations: 114.4 kB / 455.6 MB, free: 68.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.422e-06/0.4558, allocations: 0 / 455.6 MB, free: 68.55 MB / 382.1 MB Notification: Performance of Templates: time 0.03447/0.4903, allocations: 20.88 MB / 476.5 MB, free: 58.29 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)