Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001563, allocations: 189 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.019/2.019, 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.001161/0.001161, allocations: 94.86 kB / 270.3 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.2639/0.2639, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006161/0.0006163, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1106, allocations: 56.34 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007358/0.118, allocations: 4.545 MB / 483.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.1215, allocations: 1.482 MB / 485.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.1218, allocations: 27.81 kB / 485.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.1222, allocations: 99.33 kB / 485.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007717/0.123, allocations: 211.4 kB / 485.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.1237, allocations: 175.6 kB / 485.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005357/0.1243, allocations: 295.4 kB / 485.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.1255, allocations: 0.5355 MB / 486.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.1259, allocations: 187.3 kB / 486.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.1264, allocations: 183.3 kB / 486.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.1264, allocations: 16 kB / 486.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.1268, allocations: 75.89 kB / 486.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.127, allocations: 147.6 kB / 487 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.1271, allocations: 105.5 kB / 487.1 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006365/0.1278, allocations: 399 kB / 487.5 MB, free: 9.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1278, allocations: 0 / 487.5 MB, free: 9.527 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1278, allocations: 3.938 kB / 487.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1278, allocations: 4 kB / 487.5 MB, free: 9.52 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001441/0.1293, allocations: 0.6404 MB / 488.1 MB, free: 8.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1293, allocations: 12.02 kB / 488.1 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009942/0.1303, allocations: 103.2 kB / 488.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009303/0.1313, allocations: 387 kB / 488.6 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.1314, allocations: 25 kB / 488.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.1316, allocations: 51.88 kB / 488.7 MB, free: 8.215 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.1327, allocations: 468.8 kB / 489.2 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.1327, allocations: 0 / 489.2 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.718e-05/0.1328, allocations: 16 kB / 489.2 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/0.133, allocations: 28.98 kB / 489.2 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000921/0.1339, allocations: 347.6 kB / 489.5 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/0.1373, allocations: 1.629 MB / 491.2 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.1378, allocations: 165.1 kB / 491.3 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.1379, allocations: 8.047 kB / 491.3 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.1379, allocations: 42.45 kB / 491.4 MB, free: 5.383 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 4.629e-06/0.1379, allocations: 7.984 kB / 491.4 MB, free: 5.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001949/0.1399, allocations: 0.7768 MB / 492.2 MB, free: 4.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.144e-05/0.14, allocations: 85.06 kB / 492.2 MB, free: 4.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.1405, allocations: 308.5 kB / 492.5 MB, free: 4.137 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.1405, allocations: 25.7 kB / 492.6 MB, free: 4.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.1408, allocations: 310.1 kB / 492.9 MB, free: 3.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.526e-05/0.1409, allocations: 78.89 kB / 492.9 MB, free: 3.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.1409, allocations: 4 kB / 493 MB, free: 3.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1411, allocations: 322.8 kB / 493.3 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.1413, allocations: 95.94 kB / 493.4 MB, free: 3.301 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.1417, allocations: 208.6 kB / 493.6 MB, free: 3.051 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.1421, allocations: 131.9 kB / 493.7 MB, free: 2.922 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1421, allocations: 0 / 493.7 MB, free: 2.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00125/0.1434, allocations: 406.8 kB / 494.1 MB, free: 2.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1434, allocations: 4 kB / 494.1 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008338/0.1442, allocations: 264.6 kB / 494.4 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005384/0.1448, allocations: 77.03 kB / 494.4 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.1453, allocations: 63.91 kB / 494.5 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.1477, allocations: 1.612 MB / 496.1 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.148, allocations: 12 kB / 496.1 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.148, allocations: 12 kB / 496.1 MB, free: 344 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003217/0.1484, allocations: 193.6 kB / 496.3 MB, free: 140 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.1485, allocations: 35.58 kB / 496.3 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007104/0.1492, allocations: 269.8 kB / 496.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1492, allocations: 4.062 kB / 496.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1492, allocations: 8.219 kB / 496.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1492, allocations: 0 / 496.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.151, allocations: 0.7497 MB / 497.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.151, allocations: 0 / 497.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/0.1516, allocations: 55.95 kB / 497.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.1516, allocations: 8 kB / 497.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.1516, allocations: 11.94 kB / 497.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1517, allocations: 0 / 497.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1517, allocations: 0 / 497.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009291/0.1526, allocations: 498.4 kB / 497.9 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.1527, allocations: 104.7 kB / 498 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/0.1528, allocations: 12.03 kB / 498 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.1531, allocations: 8 kB / 498.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.1532, allocations: 15.94 kB / 498.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.1532, allocations: 4 kB / 498.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000328/0.1535, allocations: 223 kB / 498.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1535, allocations: 0 / 498.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006145/0.1542, allocations: 84 kB / 498.4 MB, free: 13.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001611/0.1543, allocations: 99.19 kB / 498.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000971/0.1553, allocations: 379.3 kB / 498.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1553, allocations: 0 / 498.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.1556, allocations: 99.83 kB / 498.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.1562, allocations: 65.34 kB / 499 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.1586, allocations: 1.159 MB / 0.4884 GB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.1592, allocations: 0.858 MB / 0.4893 GB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.1594, allocations: 31.38 kB / 0.4893 GB, free: 11.18 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1594, allocations: 0 / 0.4893 GB, free: 11.18 MB / 346.7 MB Notification: Performance of Templates: time 0.01204/0.1715, allocations: 5.096 MB / 0.4943 GB, free: 6.078 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)