Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001592/0.001597, allocations: 187.6 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 221.9 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001654/0.001654, allocations: 94.86 kB / 270.2 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2669/0.2669, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009505/0.0009508, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1303, allocations: 56.34 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.00866/0.139, allocations: 5.148 MB / 484.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008945/0.148, allocations: 3.95 MB / 488.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006739/0.1488, allocations: 31.81 kB / 488.2 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006518/0.1553, allocations: 1.657 MB / 489.8 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.1566, allocations: 259.2 kB / 490.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008401/0.1574, allocations: 191.7 kB / 490.3 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009006/0.1584, allocations: 467.5 kB / 490.7 MB, free: 6.309 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.1598, allocations: 0.6303 MB / 491.3 MB, free: 5.648 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000529/0.1603, allocations: 255 kB / 491.6 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005322/0.1609, allocations: 251 kB / 491.8 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.491e-05/0.161, allocations: 28 kB / 491.9 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.1612, allocations: 31.98 kB / 491.9 MB, free: 5.094 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.1615, allocations: 195.5 kB / 492.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.1617, allocations: 145.4 kB / 492.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009683/0.1627, allocations: 0.635 MB / 492.9 MB, free: 4.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1627, allocations: 0 / 492.9 MB, free: 4.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1627, allocations: 0 / 492.9 MB, free: 4.117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.1627, allocations: 0 / 492.9 MB, free: 4.117 MB / 330.7 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.002147/0.1649, allocations: 0.7654 MB / 493.6 MB, free: 3.301 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1649, allocations: 12.03 kB / 493.6 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00042/0.1654, allocations: 71.19 kB / 493.7 MB, free: 3.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.1669, allocations: 0.5328 MB / 494.2 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.853e-05/0.167, allocations: 32.98 kB / 494.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.1671, allocations: 44 kB / 494.3 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.1687, allocations: 0.6257 MB / 494.9 MB, free: 1.902 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.1688, allocations: 7.906 kB / 495 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.502e-05/0.1688, allocations: 20 kB / 495 MB, free: 1.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002306/0.1691, allocations: 44.97 kB / 495 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.1704, allocations: 467.5 kB / 495.5 MB, free: 1.375 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005203/0.1756, allocations: 2.522 MB / 498 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007444/0.1764, allocations: 281.2 kB / 498.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.1765, allocations: 4.562 kB / 498.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.1766, allocations: 34.56 kB / 498.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 3.146e-06/0.1766, allocations: 0 / 498.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.004836/0.1814, allocations: 1.543 MB / 499.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.1815, allocations: 85.23 kB / 499.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007301/0.1823, allocations: 409.9 kB / 0.4886 GB, free: 12.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/0.1824, allocations: 33.7 kB / 0.4886 GB, free: 12.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.1827, allocations: 342 kB / 0.489 GB, free: 11.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.1829, allocations: 118.3 kB / 0.4891 GB, free: 11.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.1829, allocations: 4 kB / 0.4891 GB, free: 11.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1831, allocations: 326.8 kB / 0.4894 GB, free: 11.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.1835, allocations: 132.8 kB / 0.4895 GB, free: 11.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.184, allocations: 278.8 kB / 0.4898 GB, free: 10.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.1845, allocations: 184.1 kB / 0.49 GB, free: 10.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1845, allocations: 3.938 kB / 0.49 GB, free: 10.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00182/0.1863, allocations: 0.6562 MB / 0.4906 GB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.1864, allocations: 8 kB / 0.4906 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.1865, allocations: 4 kB / 0.4906 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007602/0.1872, allocations: 141.6 kB / 0.4908 GB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.1878, allocations: 79.89 kB / 0.4908 GB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/0.1931, allocations: 3.459 MB / 0.4942 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.1936, allocations: 15.98 kB / 0.4942 GB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.1937, allocations: 16 kB / 0.4942 GB, free: 6.047 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004742/0.1942, allocations: 237.7 kB / 0.4945 GB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.1943, allocations: 43.44 kB / 0.4945 GB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.196, allocations: 0.5753 MB / 0.4951 GB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.1961, allocations: 4 kB / 0.4951 GB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001263/0.1973, allocations: 491.2 kB / 0.4955 GB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.1974, allocations: 3.984 kB / 0.4955 GB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.2, allocations: 0.9971 MB / 0.4965 GB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.2, allocations: 4 kB / 0.4965 GB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.2004, allocations: 35.97 kB / 0.4966 GB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/0.2009, allocations: 96.78 kB / 0.4967 GB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.201, allocations: 11.88 kB / 0.4967 GB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/0.2043, allocations: 1.899 MB / 0.4985 GB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.2043, allocations: 7.984 kB / 0.4985 GB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.206, allocations: 0.6815 MB / 0.4992 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.2063, allocations: 140.6 kB / 0.4993 GB, free: 492 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.784e-05/0.2064, allocations: 4 kB / 0.4993 GB, free: 488 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.2068, allocations: 15.92 kB / 0.4993 GB, free: 472 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.2069, allocations: 24.03 kB / 0.4994 GB, free: 448 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.2069, allocations: 12 kB / 0.4994 GB, free: 436 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005792/0.2075, allocations: 295.1 kB / 0.4997 GB, free: 140 kB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.2075, allocations: 0 / 0.4997 GB, free: 140 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008504/0.2084, allocations: 120 kB / 0.4998 GB, free: 20 kB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001942/0.2086, allocations: 103.2 kB / 0.4999 GB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.2102, allocations: 0.6189 MB / 0.5005 GB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2103, allocations: 384 / 0.5005 GB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007844/0.2111, allocations: 290.7 kB / 0.5008 GB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009218/0.212, allocations: 106.1 kB / 0.5009 GB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.2153, allocations: 1.431 MB / 0.5023 GB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/0.216, allocations: 0.9362 MB / 0.5032 GB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.2163, allocations: 35.44 kB / 0.5032 GB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2163, allocations: 0 / 0.5032 GB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.02024/0.2365, allocations: 9.504 MB / 0.5125 GB, free: 2.883 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1)