Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008213/0.0008216, allocations: 89.03 kB / 16.31 MB, free: 5.676 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.0008937/0.0008938, allocations: 176.9 kB / 17.2 MB, free: 5.594 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.429/1.429, allocations: 223.2 MB / 241.2 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1853/0.1853, allocations: 38.1 MB / 330.4 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003334, allocations: 8 kB / 400.2 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 59.16 MB / 459.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005674/0.1376, allocations: 4.711 MB / 464 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002817/0.1405, allocations: 1.45 MB / 465.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/0.1408, allocations: 23.88 kB / 465.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.1413, allocations: 107.2 kB / 465.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006711/0.142, allocations: 258.7 kB / 465.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.1425, allocations: 171.7 kB / 466 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006675/0.1432, allocations: 0.6346 MB / 466.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009365/0.1442, allocations: 0.5394 MB / 467.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.1445, allocations: 203.1 kB / 467.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004172/0.145, allocations: 259.1 kB / 467.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.145, allocations: 16 kB / 467.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.1453, allocations: 87.88 kB / 467.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.1454, allocations: 167.5 kB / 467.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1455, allocations: 105.5 kB / 468 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.146, allocations: 403 kB / 468.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.146, allocations: 0 / 468.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.146, allocations: 0 / 468.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.146, allocations: 0 / 468.4 MB, free: 14.16 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009496/0.1469, allocations: 0.6482 MB / 469.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.147, allocations: 8.031 kB / 469.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.431e-05/0.1471, allocations: 70.53 kB / 469.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005967/0.1477, allocations: 91.36 kB / 469.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.1482, allocations: 386.9 kB / 469.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.1483, allocations: 28.95 kB / 469.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.1484, allocations: 43.98 kB / 469.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000681/0.1491, allocations: 480.8 kB / 470.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1491, allocations: 0 / 470.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.1492, allocations: 16 kB / 470.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-05/0.1493, allocations: 28.92 kB / 470.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.1498, allocations: 343.7 kB / 470.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.1519, allocations: 1.625 MB / 472.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.1523, allocations: 185 kB / 472.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.1524, allocations: 109.7 kB / 472.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1525, allocations: 11.88 kB / 472.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1525, allocations: 38.55 kB / 472.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.1525, allocations: 4 kB / 472.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001274/0.1538, allocations: 0.7717 MB / 473.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.1538, allocations: 85.05 kB / 473.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.1541, allocations: 308.4 kB / 473.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1542, allocations: 25.7 kB / 473.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1543, allocations: 251.5 kB / 473.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.1544, allocations: 83.05 kB / 474 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/0.1544, allocations: 4 kB / 474 MB, free: 8.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1545, allocations: 342.8 kB / 474.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.1547, allocations: 95.94 kB / 474.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.1549, allocations: 196.9 kB / 474.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.1551, allocations: 132.1 kB / 474.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.1552, allocations: 4 kB / 474.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007397/0.1559, allocations: 422.7 kB / 475.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1559, allocations: 8 kB / 475.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004726/0.1564, allocations: 254.7 kB / 475.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/0.1567, allocations: 76.78 kB / 475.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.157, allocations: 72.02 kB / 475.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.1584, allocations: 1.589 MB / 477.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.1586, allocations: 16.06 kB / 477.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.1586, allocations: 15.98 kB / 477.2 MB, free: 4.82 MB / 350.1 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.0002035/0.1589, allocations: 188.9 kB / 477.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.1589, allocations: 39.61 kB / 477.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/0.1593, allocations: 264 kB / 477.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1593, allocations: 4 kB / 477.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1594, allocations: 7.953 kB / 477.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.1594, allocations: 3.984 kB / 477.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.1604, allocations: 0.7459 MB / 478.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1604, allocations: 0 / 478.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.1607, allocations: 55.91 kB / 478.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.1607, allocations: 0 / 478.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1607, allocations: 12.06 kB / 478.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1607, allocations: 4 kB / 478.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1607, allocations: 3.953 kB / 478.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/0.1612, allocations: 453.3 kB / 479 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.1613, allocations: 108.8 kB / 479.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.1614, allocations: 12 kB / 479.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1615, allocations: 4 kB / 479.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.1616, allocations: 15.94 kB / 479.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.1616, allocations: 7.984 kB / 479.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.1618, allocations: 223 kB / 479.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1618, allocations: 0 / 479.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003962/0.1622, allocations: 84 kB / 479.4 MB, free: 2.504 MB / 350.1 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.0007908/0.163, allocations: 0.9872 MB / 480.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006221/0.1636, allocations: 370.5 kB / 480.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1636, allocations: 0 / 480.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.1638, allocations: 95.89 kB / 480.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.1643, allocations: 66.2 kB / 480.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.1675, allocations: 2.426 MB / 483.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.1679, allocations: 0.8463 MB / 484.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.1681, allocations: 74.91 kB / 484.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.1683, allocations: 139.4 kB / 484.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1683, allocations: 0 / 484.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.1865, allocations: 6.734 MB / 491.1 MB, free: 6.805 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.1867, allocations: 229.1 kB / 491.4 MB, free: 6.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.089, allocations: 0 / 491.4 MB, free: 6.562 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat does not exist to compare? outputFormat=mat