Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.01105/0.01105, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001771/0.001771, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.856/1.856, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001399/0.001399, allocations: 50.48 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01292/0.1217, allocations: 8.949 MB / 382.1 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007644/0.1294, allocations: 3.213 MB / 385.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.1315, allocations: 35.88 kB / 385.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.1349, allocations: 0.7147 MB / 386.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004648/0.1396, allocations: 0.7457 MB / 386.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.1416, allocations: 331.5 kB / 387.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005308/0.1469, allocations: 2.113 MB / 389.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003885/0.1508, allocations: 1.39 MB / 390.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002785/0.1537, allocations: 0.9148 MB / 391.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003208/0.1569, allocations: 1.132 MB / 392.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.1581, allocations: 232 kB / 392.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.1598, allocations: 311.9 kB / 393.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.1613, allocations: 0.6777 MB / 393.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002985/0.1644, allocations: 1.085 MB / 395 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00712/0.1715, allocations: 3.111 MB / 398.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.1716, allocations: 0 / 398.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1716, allocations: 0 / 398.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001026/0.1717, allocations: 0 / 398.1 MB, free: 8.203 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.0105/0.1822, allocations: 2.261 MB / 400.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.686e-05/0.1824, allocations: 15.89 kB / 400.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.1838, allocations: 234.4 kB / 400.6 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/0.1882, allocations: 1.145 MB / 401.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.1884, allocations: 127.4 kB / 401.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005647/0.189, allocations: 155.9 kB / 402 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006846/0.1958, allocations: 2 MB / 404 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.196, allocations: 15.89 kB / 404.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003874/0.1964, allocations: 64 kB / 404.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001905/0.1966, allocations: 74.92 kB / 404.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005775/0.2024, allocations: 1.651 MB / 405.8 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02159/0.2241, allocations: 6.893 MB / 412.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.2258, allocations: 448.7 kB / 413.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007501/0.2266, allocations: 262 kB / 413.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/0.227, allocations: 117.5 kB / 413.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.2271, allocations: 42.94 kB / 413.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 5.1e-06/0.2272, allocations: 0 / 413.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.01405/0.2412, allocations: 3.284 MB / 416.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004683/0.246, allocations: 2.33 MB / 419.2 MB, free: 2.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005753/0.2518, allocations: 1.615 MB / 420.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.2521, allocations: 37.7 kB / 420.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00165/0.2538, allocations: 1.026 MB / 421.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005924/0.2544, allocations: 236.8 kB / 422.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/0.2556, allocations: 319.1 kB / 422.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.2559, allocations: 301.1 kB / 422.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.2576, allocations: 0.5231 MB / 423.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002986/0.2606, allocations: 1.461 MB / 424.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005293/0.2659, allocations: 2.141 MB / 426.8 MB, free: 9.703 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.956e-05/0.266, allocations: 8 kB / 426.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.008104/0.2741, allocations: 2.161 MB / 429 MB, free: 7.516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.785e-05/0.2743, allocations: 20 kB / 429 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.2744, allocations: 32 kB / 429.1 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.2755, allocations: 230.3 kB / 429.3 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/0.2779, allocations: 391.5 kB / 429.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/0.2811, allocations: 1.851 MB / 431.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/0.2847, allocations: 139.4 kB / 431.7 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005367/0.2853, allocations: 95.98 kB / 431.8 MB, free: 4.617 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.002708/0.2881, allocations: 0.5906 MB / 432.3 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/0.2891, allocations: 150.2 kB / 432.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/0.293, allocations: 1.114 MB / 433.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.2931, allocations: 8 kB / 433.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.2931, allocations: 0 / 433.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.2931, allocations: 7.938 kB / 433.6 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.3044, allocations: 3.39 MB / 437 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/0.3045, allocations: 4 kB / 437 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.3052, allocations: 111.8 kB / 437.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009612/0.3062, allocations: 227 kB / 437.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-05/0.3063, allocations: 20 kB / 437.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006192/0.3125, allocations: 4.05 MB / 441.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003518/0.316, allocations: 2.169 MB / 443.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.3209, allocations: 1.743 MB / 445.3 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.3221, allocations: 311.1 kB / 445.6 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000564/0.3227, allocations: 23.94 kB / 445.7 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.3243, allocations: 47.94 kB / 445.7 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/0.3246, allocations: 63.86 kB / 445.8 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.895e-05/0.3247, allocations: 24 kB / 445.8 MB, free: 5.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00332/0.3281, allocations: 1.066 MB / 446.9 MB, free: 4.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3281, allocations: 0 / 446.9 MB, free: 4.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0038/0.3319, allocations: 395.9 kB / 447.2 MB, free: 4.391 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.0007182/0.3326, allocations: 159.1 kB / 447.4 MB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004061/0.3367, allocations: 1.609 MB / 449 MB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.3368, allocations: 448 / 449 MB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.3384, allocations: 0.8786 MB / 449.9 MB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/0.3411, allocations: 397.6 kB / 450.3 MB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2567/0.5978, allocations: 3.172 MB / 453.4 MB, free: 69.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.5994, allocations: 1.465 MB / 454.9 MB, free: 68.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001326/0.6007, allocations: 353.4 kB / 455.3 MB, free: 68.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/0.6011, allocations: 112.6 kB / 455.4 MB, free: 68.57 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6011, allocations: 0 / 455.4 MB, free: 68.57 MB / 382.1 MB Notification: Performance of Templates: time 0.04219/0.6433, allocations: 20.88 MB / 476.2 MB, free: 58.47 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)