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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001592, allocations: 187.5 kB / 15.77 MB, free: 5.984 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.964/1.964, 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.001115/0.001115, allocations: 86.88 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2565/0.2565, allocations: 38.06 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006177/0.0006178, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1197, allocations: 56.34 MB / 479.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007197/0.127, allocations: 4.549 MB / 483.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.1303, allocations: 1.478 MB / 485.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002731/0.1306, allocations: 27.81 kB / 485.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.131, allocations: 103.3 kB / 485.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007044/0.1317, allocations: 211.4 kB / 485.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006424/0.1323, allocations: 175.6 kB / 485.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1329, allocations: 295.4 kB / 486 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.134, allocations: 0.5471 MB / 486.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.1344, allocations: 187.3 kB / 486.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.1349, allocations: 171.3 kB / 486.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/0.1349, allocations: 16 kB / 486.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.1352, allocations: 75.89 kB / 486.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.1355, allocations: 155.6 kB / 487.1 MB, free: 9.934 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1356, allocations: 101.5 kB / 487.2 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005917/0.1362, allocations: 399 kB / 487.6 MB, free: 9.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.1362, allocations: 0 / 487.6 MB, free: 9.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1363, allocations: 4 kB / 487.6 MB, free: 9.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.1363, allocations: 0 / 487.6 MB, free: 9.434 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.001387/0.1377, allocations: 0.6404 MB / 488.2 MB, free: 8.738 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1377, allocations: 8.031 kB / 488.2 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.1379, allocations: 82.5 kB / 488.3 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009746/0.1388, allocations: 99.23 kB / 488.4 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008967/0.1398, allocations: 395 kB / 488.8 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.1398, allocations: 25 kB / 488.8 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.14, allocations: 47.89 kB / 488.9 MB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.1411, allocations: 460.8 kB / 489.3 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.1411, allocations: 3.938 kB / 489.3 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/0.1412, allocations: 20 kB / 489.3 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.1413, allocations: 28.94 kB / 489.4 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008941/0.1422, allocations: 339.7 kB / 489.7 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.1455, allocations: 1.645 MB / 491.3 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.146, allocations: 169.1 kB / 491.5 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1461, allocations: 7.953 kB / 491.5 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.1461, allocations: 38.61 kB / 491.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.973e-06/0.1461, allocations: 0 / 491.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001893/0.148, allocations: 0.7811 MB / 492.3 MB, free: 4.367 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.1481, allocations: 81.11 kB / 492.4 MB, free: 4.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.1486, allocations: 312.6 kB / 492.7 MB, free: 3.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.1486, allocations: 29.7 kB / 492.8 MB, free: 3.922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.1488, allocations: 297.9 kB / 493 MB, free: 3.629 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.859e-05/0.1489, allocations: 74.98 kB / 493.1 MB, free: 3.555 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.149, allocations: 8 kB / 493.1 MB, free: 3.547 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1491, allocations: 322.8 kB / 493.4 MB, free: 3.223 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.1494, allocations: 95.94 kB / 493.5 MB, free: 3.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.1498, allocations: 204.5 kB / 493.7 MB, free: 2.883 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.1501, allocations: 131.9 kB / 493.9 MB, free: 2.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1501, allocations: 0 / 493.9 MB, free: 2.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001268/0.1514, allocations: 406.6 kB / 494.3 MB, free: 2.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.1515, allocations: 10.97 kB / 494.3 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008446/0.1523, allocations: 260.6 kB / 494.5 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005338/0.1529, allocations: 81.22 kB / 494.6 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.1533, allocations: 63.89 kB / 494.7 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.1557, allocations: 1.616 MB / 496.3 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.156, allocations: 11.94 kB / 496.3 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.1561, allocations: 12 kB / 496.3 MB, free: 164 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.0003412/0.1564, allocations: 189.7 kB / 496.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.1565, allocations: 31.58 kB / 496.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000676/0.1572, allocations: 273.8 kB / 496.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1572, allocations: 4 kB / 496.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.1572, allocations: 0 / 496.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.1572, allocations: 3.984 kB / 496.8 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.159, allocations: 0.7536 MB / 497.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.159, allocations: 8.062 kB / 497.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/0.1596, allocations: 51.91 kB / 497.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1596, allocations: 0 / 497.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.1596, allocations: 8 kB / 497.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.1596, allocations: 0 / 497.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1597, allocations: 7.938 kB / 497.6 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/0.1606, allocations: 490.5 kB / 498.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1607, allocations: 108.8 kB / 498.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.1608, allocations: 8 kB / 498.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.161, allocations: 8 kB / 498.2 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.1611, allocations: 15.94 kB / 498.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.1611, allocations: 19.92 kB / 498.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00032/0.1615, allocations: 211.1 kB / 498.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1615, allocations: 4 kB / 498.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006067/0.1621, allocations: 84 kB / 498.6 MB, free: 13.77 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.001302/0.1634, allocations: 1.219 MB / 499.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009922/0.1644, allocations: 374.5 kB / 0.4884 GB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1645, allocations: 4 kB / 0.4884 GB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.1647, allocations: 95.89 kB / 0.4885 GB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.1653, allocations: 62.72 kB / 0.4886 GB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/0.1714, allocations: 4.557 MB / 0.493 GB, free: 7.285 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.172, allocations: 0.8613 MB / 0.4939 GB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.1723, allocations: 139.4 kB / 0.494 GB, free: 6.258 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1724, allocations: 7.938 kB / 0.494 GB, free: 6.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.666/2.839, allocations: 7.047 MB / 0.5009 GB, free: 15.2 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)