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.001312/0.001312, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002141/0.002141, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.909/1.909, allocations: 205.1 MB / 222 MB, free: 4.996 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.001428/0.001428, allocations: 51.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2693, allocations: 46.63 MB / 324.7 MB, free: 1.824 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01133/0.2807, allocations: 8.911 MB / 333.6 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007274/0.288, allocations: 3.19 MB / 336.8 MB, free: 8.039 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.2898, allocations: 35.81 kB / 336.8 MB, free: 8.004 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.2927, allocations: 0.5944 MB / 337.4 MB, free: 7.406 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003985/0.2967, allocations: 0.6256 MB / 338 MB, free: 6.777 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009702/0.2976, allocations: 299.6 kB / 338.3 MB, free: 6.484 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003/0.3007, allocations: 2.429 MB / 340.8 MB, free: 4.047 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.3023, allocations: 1.176 MB / 341.9 MB, free: 2.828 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.3036, allocations: 0.7859 MB / 342.7 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.3052, allocations: 1.097 MB / 343.8 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.3055, allocations: 144 kB / 344 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006157/0.3062, allocations: 239.8 kB / 344.2 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007137/0.3069, allocations: 0.5919 MB / 344.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.3082, allocations: 0.9873 MB / 345.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.3111, allocations: 3.01 MB / 348.8 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3111, allocations: 4 kB / 348.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3111, allocations: 0 / 348.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.279e-05/0.3112, allocations: 0 / 348.8 MB, free: 11.95 MB / 286.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.004649/0.3158, allocations: 2.258 MB / 351 MB, free: 9.637 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3159, allocations: 12.02 kB / 351.1 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006346/0.3165, allocations: 222.5 kB / 351.3 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.3186, allocations: 1.153 MB / 352.4 MB, free: 8.195 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3187, allocations: 115.4 kB / 352.5 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.3189, allocations: 163.8 kB / 352.7 MB, free: 7.922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/0.3223, allocations: 2 MB / 354.7 MB, free: 5.871 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/0.3224, allocations: 8 kB / 354.7 MB, free: 5.863 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.3226, allocations: 63.98 kB / 354.8 MB, free: 5.801 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.61e-05/0.3226, allocations: 78.92 kB / 354.9 MB, free: 5.723 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.3253, allocations: 1.651 MB / 356.5 MB, free: 4.066 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.336, allocations: 6.936 MB / 363.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/0.3368, allocations: 448.5 kB / 363.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.3372, allocations: 266.5 kB / 364.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.3374, allocations: 113.5 kB / 364.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.3375, allocations: 38.94 kB / 364.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.504e-06/0.3375, allocations: 4 kB / 364.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.007073/0.3446, allocations: 3.276 MB / 367.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002642/0.3472, allocations: 2.174 MB / 369.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.3497, allocations: 1.619 MB / 371.4 MB, free: 4.578 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.3498, allocations: 33.7 kB / 371.4 MB, free: 4.539 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/0.3505, allocations: 1.018 MB / 372.4 MB, free: 3.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.3507, allocations: 236.8 kB / 372.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000432/0.3511, allocations: 323.1 kB / 373 MB, free: 2.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3513, allocations: 301.1 kB / 373.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007762/0.3521, allocations: 0.5192 MB / 373.8 MB, free: 2.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.3535, allocations: 1.461 MB / 375.2 MB, free: 208 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.356, allocations: 2.145 MB / 377.4 MB, free: 13.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.356, allocations: 8 kB / 377.4 MB, free: 13.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003457/0.3595, allocations: 2.157 MB / 379.5 MB, free: 11.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.3595, allocations: 23.94 kB / 379.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.96e-05/0.3596, allocations: 40 kB / 379.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005568/0.3601, allocations: 231.1 kB / 379.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.3612, allocations: 395.3 kB / 380.2 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.3629, allocations: 1.71 MB / 381.9 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.3643, allocations: 139.4 kB / 382.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.3645, allocations: 95.98 kB / 382.2 MB, free: 8.645 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.001039/0.3655, allocations: 0.5906 MB / 382.7 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.3658, allocations: 154.1 kB / 382.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.3677, allocations: 1.11 MB / 384 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.3677, allocations: 11.94 kB / 384 MB, free: 6.746 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3677, allocations: 3.938 kB / 384 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3678, allocations: 3.984 kB / 384 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/0.3731, allocations: 3.386 MB / 387.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.3732, allocations: 4 kB / 387.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.3736, allocations: 111.8 kB / 387.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006564/0.3743, allocations: 230.4 kB / 387.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.3743, allocations: 19.98 kB / 387.8 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003855/0.3782, allocations: 3.709 MB / 391.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002038/0.3802, allocations: 2.018 MB / 393.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.3831, allocations: 1.742 MB / 395.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006891/0.3838, allocations: 307.1 kB / 395.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.384, allocations: 20 kB / 395.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/0.3846, allocations: 59.88 kB / 395.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.3848, allocations: 55.81 kB / 395.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.3849, allocations: 27.98 kB / 395.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001796/0.3867, allocations: 1.07 MB / 396.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3867, allocations: 4 kB / 396.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001848/0.3885, allocations: 380 kB / 397.1 MB, free: 8.934 MB / 334.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.0003536/0.3889, allocations: 163 kB / 397.3 MB, free: 8.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.3915, allocations: 1.606 MB / 398.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3915, allocations: 4.062 kB / 398.9 MB, free: 7.105 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.3928, allocations: 0.8556 MB / 399.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.3948, allocations: 385.5 kB / 400.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006015/0.4008, allocations: 3.84 MB / 404 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.402, allocations: 1.469 MB / 405.5 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001262/0.4033, allocations: 350 kB / 405.8 MB, free: 28 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.4036, allocations: 111.4 kB / 405.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4036, allocations: 0 / 405.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of Templates: time 0.04208/0.4457, allocations: 19.57 MB / 425.5 MB, free: 12.32 MB / 366.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)