Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01115/0.01115, allocations: 99.81 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.001798/0.001798, allocations: 192 kB / 16.67 MB, free: 5.969 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.929/1.929, allocations: 205.1 MB / 222.6 MB, free: 4.473 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.001129/0.00113, allocations: 50.39 kB / 326.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1218, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01158/0.1334, allocations: 10.14 MB / 383.3 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006931/0.1404, allocations: 3.28 MB / 386.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.142, allocations: 47.75 kB / 386.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.1439, allocations: 0.7337 MB / 387.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.1465, allocations: 0.8778 MB / 388.3 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009203/0.1474, allocations: 419.3 kB / 388.7 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003197/0.1506, allocations: 2.973 MB / 391.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.1533, allocations: 2.433 MB / 394.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.1553, allocations: 1.351 MB / 395.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.1579, allocations: 1.697 MB / 397.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004888/0.1584, allocations: 355.9 kB / 397.5 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008926/0.1593, allocations: 455.8 kB / 397.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009709/0.1603, allocations: 1.021 MB / 398.9 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.162, allocations: 1.602 MB / 400.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005291/0.1673, allocations: 4.694 MB / 405.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.1673, allocations: 0 / 405.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1674, allocations: 0 / 405.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001689/0.1675, allocations: 0 / 405.2 MB, free: 1.078 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.008393/0.1759, allocations: 3.336 MB / 408.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.176, allocations: 11.89 kB / 408.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000879/0.1769, allocations: 346.9 kB / 408.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003384/0.1803, allocations: 1.664 MB / 410.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.1805, allocations: 180.8 kB / 410.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004154/0.1809, allocations: 239.9 kB / 411 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00626/0.1872, allocations: 3.129 MB / 414.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.632e-05/0.1873, allocations: 3.984 kB / 414.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/0.1876, allocations: 99.98 kB / 414.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/0.1877, allocations: 104.6 kB / 414.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005944/0.1937, allocations: 2.7 MB / 417 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01919/0.2129, allocations: 9.648 MB / 426.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003311/0.2163, allocations: 2.161 MB / 428.8 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.2184, allocations: 1.113 MB / 429.9 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/0.2189, allocations: 207.2 kB / 430.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.529e-05/0.219, allocations: 43.56 kB / 430.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 5.951e-06/0.219, allocations: 0 / 430.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01576/0.2347, allocations: 6.752 MB / 436.9 MB, free: 480 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.2349, allocations: 64.72 kB / 437 MB, free: 404 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003843/0.2387, allocations: 1.743 MB / 438.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.2389, allocations: 45.7 kB / 438.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.2401, allocations: 1.19 MB / 440 MB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006107/0.2408, allocations: 476 kB / 440.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006346/0.2414, allocations: 295.4 kB / 440.7 MB, free: 12.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2415, allocations: 305.1 kB / 441 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.2429, allocations: 0.7847 MB / 441.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.2446, allocations: 1.206 MB / 443 MB, free: 10.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003336/0.248, allocations: 2.095 MB / 445.1 MB, free: 7.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.248, allocations: 4 kB / 445.1 MB, free: 7.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005423/0.2535, allocations: 2.675 MB / 447.8 MB, free: 5.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.2535, allocations: 8 kB / 447.8 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.065e-05/0.2536, allocations: 20.33 kB / 447.8 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.2547, allocations: 419.1 kB / 448.2 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.2562, allocations: 375.4 kB / 448.6 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3528/0.609, allocations: 7.054 MB / 455.7 MB, free: 67.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.611, allocations: 109.8 kB / 455.8 MB, free: 67.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/0.6113, allocations: 63.91 kB / 455.8 MB, free: 67.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002406/0.6138, allocations: 0.7921 MB / 456.6 MB, free: 67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006685/0.6144, allocations: 196.5 kB / 456.8 MB, free: 67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/0.6196, allocations: 2.374 MB / 459.2 MB, free: 66.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.6196, allocations: 12.91 kB / 459.2 MB, free: 66.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.6196, allocations: 4.547 kB / 459.2 MB, free: 66.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.6197, allocations: 8.656 kB / 459.2 MB, free: 66.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.6331, allocations: 5.095 MB / 464.3 MB, free: 64.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.6331, allocations: 8.438 kB / 464.3 MB, free: 64.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.6342, allocations: 237.9 kB / 464.5 MB, free: 64.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.6356, allocations: 458 kB / 465 MB, free: 63.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.6357, allocations: 36.42 kB / 465 MB, free: 63.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009086/0.6448, allocations: 8.63 MB / 473.7 MB, free: 57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.6449, allocations: 10.62 kB / 473.7 MB, free: 57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005978/0.6508, allocations: 3.537 MB / 477.2 MB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/0.6526, allocations: 440.4 kB / 477.6 MB, free: 55.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/0.653, allocations: 35.83 kB / 477.7 MB, free: 55.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.654, allocations: 85 kB / 477.8 MB, free: 55.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/0.6544, allocations: 121.8 kB / 477.9 MB, free: 54.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.6545, allocations: 40.19 kB / 477.9 MB, free: 54.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001939/0.6564, allocations: 1.202 MB / 479.1 MB, free: 54.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6565, allocations: 3.406 kB / 479.1 MB, free: 54.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002164/0.6586, allocations: 0.4989 MB / 479.6 MB, free: 54.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000459/0.6591, allocations: 197.1 kB / 479.8 MB, free: 54.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004136/0.6632, allocations: 2.478 MB / 482.3 MB, free: 52.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/0.6633, allocations: 0 / 482.3 MB, free: 52.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.6658, allocations: 1.617 MB / 483.9 MB, free: 51.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/0.6689, allocations: 480.2 kB / 484.4 MB, free: 50.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009216/0.6781, allocations: 5.094 MB / 489.5 MB, free: 45.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.6796, allocations: 2.001 MB / 491.5 MB, free: 43.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001409/0.681, allocations: 443.5 kB / 491.9 MB, free: 43.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.6814, allocations: 131.4 kB / 492 MB, free: 43.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/0.6814, allocations: 0 / 492 MB, free: 43.24 MB / 382.1 MB Notification: Performance of Templates: time 0.04931/0.7307, allocations: 28.24 MB / 0.5081 GB, free: 14.98 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1)