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.001019/0.001019, allocations: 173.1 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0007683/0.0007683, allocations: 94.23 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1782/0.1782, allocations: 38.06 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1061, allocations: 56.34 MB / 479.1 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006553/0.1127, allocations: 4.707 MB / 483.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.116, allocations: 1.474 MB / 485.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.1165, allocations: 27.81 kB / 485.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.117, allocations: 107.3 kB / 485.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009957/0.118, allocations: 254.7 kB / 485.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.1188, allocations: 175.7 kB / 485.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008362/0.1196, allocations: 0.6347 MB / 486.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.1207, allocations: 0.5511 MB / 487 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004457/0.1211, allocations: 203.1 kB / 487.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005071/0.1216, allocations: 259.1 kB / 487.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.584e-05/0.1217, allocations: 16 kB / 487.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.1221, allocations: 79.88 kB / 487.5 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.1223, allocations: 171.5 kB / 487.7 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.1225, allocations: 105.5 kB / 487.8 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.1229, allocations: 399 kB / 488.2 MB, free: 8.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.123, allocations: 0 / 488.2 MB, free: 8.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.123, allocations: 0 / 488.2 MB, free: 8.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.123, allocations: 0 / 488.2 MB, free: 8.848 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.001249/0.1242, allocations: 0.6443 MB / 488.8 MB, free: 8.148 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1243, allocations: 8.031 kB / 488.8 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007019/0.125, allocations: 99.16 kB / 488.9 MB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006854/0.1257, allocations: 387 kB / 489.3 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.1257, allocations: 29 kB / 489.3 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.1259, allocations: 43.89 kB / 489.4 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007611/0.1267, allocations: 480.8 kB / 489.9 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.1267, allocations: 4 kB / 489.9 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.1267, allocations: 8 kB / 489.9 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.1268, allocations: 32.98 kB / 489.9 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005602/0.1274, allocations: 347.7 kB / 490.2 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.1299, allocations: 1.633 MB / 491.9 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.1303, allocations: 173.1 kB / 492 MB, free: 4.754 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.1305, allocations: 113.7 kB / 492.2 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.1306, allocations: 7.938 kB / 492.2 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.1306, allocations: 38.56 kB / 492.2 MB, free: 4.582 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 3.867e-06/0.1307, allocations: 0 / 492.2 MB, free: 4.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001529/0.1322, allocations: 0.7773 MB / 493 MB, free: 3.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.1323, allocations: 85.09 kB / 493.1 MB, free: 3.648 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.1326, allocations: 300.5 kB / 493.4 MB, free: 3.348 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1326, allocations: 33.64 kB / 493.4 MB, free: 3.309 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.1328, allocations: 251.5 kB / 493.6 MB, free: 3.059 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.1329, allocations: 74.98 kB / 493.7 MB, free: 2.984 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/0.1329, allocations: 4 kB / 493.7 MB, free: 2.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1331, allocations: 350.9 kB / 494.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.1332, allocations: 91.94 kB / 494.1 MB, free: 2.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.1335, allocations: 200.6 kB / 494.3 MB, free: 2.297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.1337, allocations: 135.9 kB / 494.5 MB, free: 2.164 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1337, allocations: 0 / 494.5 MB, free: 2.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008174/0.1345, allocations: 426.7 kB / 494.9 MB, free: 1.738 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1346, allocations: 14.72 kB / 494.9 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004946/0.1351, allocations: 260.6 kB / 495.2 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.1354, allocations: 76.78 kB / 495.2 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.1357, allocations: 63.91 kB / 495.3 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.1375, allocations: 1.585 MB / 496.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.1377, allocations: 11.98 kB / 496.9 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.1377, allocations: 16 kB / 496.9 MB, free: 15.58 MB / 346.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.0002401/0.138, allocations: 197.7 kB / 497.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.138, allocations: 31.58 kB / 497.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.1385, allocations: 269.7 kB / 497.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1385, allocations: 7.938 kB / 497.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1385, allocations: 0 / 497.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1385, allocations: 0 / 497.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.1397, allocations: 0.7538 MB / 498.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.1398, allocations: 7.984 kB / 498.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.14, allocations: 51.92 kB / 498.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.14, allocations: 0 / 498.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.1401, allocations: 7.984 kB / 498.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1401, allocations: 0 / 498.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1401, allocations: 4 kB / 498.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.1406, allocations: 457.5 kB / 498.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.1408, allocations: 112.6 kB / 498.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.1408, allocations: 8 kB / 498.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.141, allocations: 7.984 kB / 498.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.141, allocations: 23.92 kB / 498.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.141, allocations: 4 kB / 498.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000209/0.1413, allocations: 215 kB / 499 MB, free: 13.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1413, allocations: 0 / 499 MB, free: 13.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003897/0.1417, allocations: 88 kB / 499.1 MB, free: 13.24 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.0001372/0.1418, allocations: 103.2 kB / 499.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006746/0.1425, allocations: 378.5 kB / 499.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1425, allocations: 0 / 499.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1427, allocations: 99.89 kB / 499.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.1431, allocations: 62.47 kB / 499.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.1448, allocations: 1.182 MB / 0.4892 GB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.1454, allocations: 0.8424 MB / 0.49 GB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.102e-05/0.1455, allocations: 35.42 kB / 0.49 GB, free: 10.46 MB / 346.7 MB Notification: Performance of SimCode: time 3.8e-07/0.1455, allocations: 3.938 kB / 0.4901 GB, free: 10.46 MB / 346.7 MB Notification: Performance of Templates: time 0.009228/0.1547, allocations: 5.214 MB / 0.4951 GB, free: 5.242 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)