Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 101.8 kB / 17.59 MB, free: 5.449 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.001343/0.001344, allocations: 191.3 kB / 18.52 MB, free: 4.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1791/0.1791, allocations: 38.02 MB / 330.4 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 60.2 kB / 399.5 MB, free: 34.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1072, allocations: 58.06 MB / 457.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.006835/0.1141, allocations: 5.207 MB / 462.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005521/0.1197, allocations: 3.965 MB / 466.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.1201, allocations: 15.94 kB / 466.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008786/0.129, allocations: 4.807 MB / 471.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008835/0.1299, allocations: 322.5 kB / 471.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.1305, allocations: 207.7 kB / 472 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.1326, allocations: 1.555 MB / 473.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009111/0.1335, allocations: 0.5962 MB / 474.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005868/0.1341, allocations: 358.8 kB / 474.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006966/0.1348, allocations: 414.4 kB / 474.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.135, allocations: 56 kB / 475 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.1352, allocations: 71.98 kB / 475.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.1355, allocations: 255.4 kB / 475.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004811/0.136, allocations: 326.4 kB / 475.6 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008787/0.1369, allocations: 0.7944 MB / 476.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1369, allocations: 0 / 476.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1369, allocations: 0 / 476.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.602e-05/0.137, allocations: 0 / 476.4 MB, free: 5.098 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00187/0.1389, allocations: 0.8668 MB / 477.3 MB, free: 4.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1389, allocations: 11.89 kB / 477.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/0.1393, allocations: 76.08 kB / 477.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.1403, allocations: 0.549 MB / 477.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.1404, allocations: 36.98 kB / 478 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.767e-05/0.1405, allocations: 40 kB / 478 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.1415, allocations: 0.6297 MB / 478.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.1415, allocations: 4 kB / 478.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.1416, allocations: 19.98 kB / 478.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.1417, allocations: 48.91 kB / 478.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008106/0.1425, allocations: 471.6 kB / 479.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.1457, allocations: 2.526 MB / 481.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.1462, allocations: 273.7 kB / 482 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.1464, allocations: 145.7 kB / 482.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.1464, allocations: 4.5 kB / 482.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.1465, allocations: 42.48 kB / 482.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.264e-06/0.1465, allocations: 0 / 482.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002941/0.1494, allocations: 1.542 MB / 483.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.1495, allocations: 81.11 kB / 483.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.15, allocations: 413.8 kB / 484.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.15, allocations: 41.66 kB / 484.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.1502, allocations: 299.5 kB / 484.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1503, allocations: 110.5 kB / 484.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.1505, allocations: 82.03 kB / 484.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1506, allocations: 362.7 kB / 485.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.1508, allocations: 124.8 kB / 485.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.1511, allocations: 278.3 kB / 485.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.1517, allocations: 461.6 kB / 485.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1517, allocations: 0 / 485.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001081/0.1528, allocations: 0.6753 MB / 486.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1528, allocations: 8.469 kB / 486.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1529, allocations: 8 kB / 486.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/0.1533, allocations: 141.5 kB / 486.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.1536, allocations: 83.83 kB / 486.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/0.1572, allocations: 3.672 MB / 490.5 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.1575, allocations: 15.98 kB / 490.5 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.1575, allocations: 16 kB / 490.5 MB, free: 6.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003366/0.1579, allocations: 243.7 kB / 490.8 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.158, allocations: 47.42 kB / 490.8 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009725/0.1589, allocations: 0.5672 MB / 491.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1589, allocations: 4 kB / 491.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007357/0.1597, allocations: 491.8 kB / 491.9 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1597, allocations: 0 / 491.9 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.1612, allocations: 1.002 MB / 492.9 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1613, allocations: 0 / 492.9 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.1615, allocations: 43.91 kB / 492.9 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002792/0.1618, allocations: 92.88 kB / 493 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.1618, allocations: 8 kB / 493 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.1638, allocations: 2.028 MB / 495 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.1638, allocations: 7.938 kB / 495 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/0.1648, allocations: 0.6537 MB / 495.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.165, allocations: 140.5 kB / 495.8 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.1651, allocations: 8 kB / 495.8 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1653, allocations: 0 / 495.8 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.1653, allocations: 27.91 kB / 495.9 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.1654, allocations: 12 kB / 495.9 MB, free: 412 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003623/0.1657, allocations: 303.1 kB / 496.2 MB, free: 112 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1658, allocations: 0 / 496.2 MB, free: 112 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005953/0.1664, allocations: 120 kB / 496.3 MB, free: 15.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001403/0.1665, allocations: 111.2 kB / 496.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.1676, allocations: 0.6263 MB / 497 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.1677, allocations: 0 / 497 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.1681, allocations: 294.5 kB / 497.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.1688, allocations: 112.6 kB / 497.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1709, allocations: 1.198 MB / 498.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.1715, allocations: 0.9128 MB / 499.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-05/0.1716, allocations: 39.36 kB / 499.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1716, allocations: 0 / 499.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of Templates: time 0.01412/0.1857, allocations: 9.947 MB / 0.4976 GB, free: 2.66 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1)