Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_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.001055/0.001055, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001159/0.00116, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.324/1.324, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1732/0.1732, allocations: 38.02 MB / 329.7 MB, free: 8.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 62.77 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1123, allocations: 58.07 MB / 457 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006503/0.1189, allocations: 4.704 MB / 461.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1211, allocations: 1.351 MB / 463 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.1213, allocations: 11.94 kB / 463 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.1225, allocations: 412.1 kB / 463.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.123, allocations: 234.8 kB / 463.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.1235, allocations: 175.6 kB / 463.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006127/0.1241, allocations: 0.549 MB / 464.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005033/0.1246, allocations: 353.8 kB / 464.7 MB, free: 176 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004243/0.1251, allocations: 247 kB / 465 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004718/0.1256, allocations: 271.1 kB / 465.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.891e-05/0.1256, allocations: 32 kB / 465.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.1259, allocations: 131.7 kB / 465.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.1261, allocations: 183.5 kB / 465.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.1264, allocations: 226.9 kB / 465.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005486/0.127, allocations: 0.514 MB / 466.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.127, allocations: 3.984 kB / 466.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.127, allocations: 0 / 466.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.127, allocations: 4 kB / 466.3 MB, free: 14.58 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.001134/0.1281, allocations: 0.7184 MB / 467 MB, free: 13.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1282, allocations: 15.83 kB / 467 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.454e-05/0.1283, allocations: 78.72 kB / 467.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006837/0.129, allocations: 84.31 kB / 467.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006561/0.1296, allocations: 396.1 kB / 467.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1297, allocations: 21.38 kB / 467.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.1298, allocations: 55.84 kB / 467.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.1306, allocations: 480.8 kB / 468.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.1306, allocations: 7.938 kB / 468.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.1306, allocations: 12 kB / 468.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.1308, allocations: 28.98 kB / 468.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.1313, allocations: 339.7 kB / 468.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.1336, allocations: 1.637 MB / 470.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.1339, allocations: 173.1 kB / 470.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.1341, allocations: 113.7 kB / 470.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1341, allocations: 3.984 kB / 470.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.1342, allocations: 42.44 kB / 470.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.1342, allocations: 0 / 470.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001385/0.1356, allocations: 0.7831 MB / 471.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.1356, allocations: 81.11 kB / 471.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.136, allocations: 308.5 kB / 471.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.136, allocations: 29.7 kB / 471.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1362, allocations: 251.5 kB / 471.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/0.1363, allocations: 71 kB / 472 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.1364, allocations: 69.53 kB / 472.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1365, allocations: 346.9 kB / 472.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1367, allocations: 95.94 kB / 472.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.1369, allocations: 204.6 kB / 472.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.1373, allocations: 323.3 kB / 473 MB, free: 7.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1373, allocations: 4 kB / 473 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007671/0.1381, allocations: 430.9 kB / 473.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1381, allocations: 8 kB / 473.4 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000458/0.1386, allocations: 267.3 kB / 473.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/0.1389, allocations: 80.77 kB / 473.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.1392, allocations: 63.91 kB / 473.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.1409, allocations: 1.711 MB / 475.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.1411, allocations: 16.06 kB / 475.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.1412, allocations: 19.97 kB / 475.6 MB, free: 4.707 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002672/0.1414, allocations: 193.7 kB / 475.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.1415, allocations: 27.62 kB / 475.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004475/0.142, allocations: 268.5 kB / 476.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.142, allocations: 4 kB / 476.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.142, allocations: 4 kB / 476.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.142, allocations: 7.922 kB / 476.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.1432, allocations: 0.7343 MB / 476.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1432, allocations: 4 kB / 476.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.1435, allocations: 51.91 kB / 476.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.1435, allocations: 3.938 kB / 476.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.1436, allocations: 12.06 kB / 476.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1436, allocations: 0 / 476.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1436, allocations: 4 kB / 476.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/0.1441, allocations: 454.3 kB / 477.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.1442, allocations: 112.8 kB / 477.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.1443, allocations: 15.98 kB / 477.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1444, allocations: 4 kB / 477.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.1445, allocations: 11.98 kB / 477.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1445, allocations: 11.98 kB / 477.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.1447, allocations: 215.1 kB / 477.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1447, allocations: 7.875 kB / 477.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004041/0.1451, allocations: 84 kB / 477.8 MB, free: 2.379 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008065/0.1459, allocations: 0.9862 MB / 478.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007309/0.1467, allocations: 410.4 kB / 479.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1467, allocations: 0 / 479.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.1468, allocations: 106.4 kB / 479.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.1474, allocations: 66.22 kB / 479.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.1517, allocations: 3.539 MB / 482.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.1522, allocations: 0.8538 MB / 483.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.1525, allocations: 74.89 kB / 483.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.1527, allocations: 139.4 kB / 483.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1527, allocations: 0 / 483.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.1794, allocations: 7.072 MB / 491 MB, free: 5.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.007/9.187, allocations: 13.08 kB / 491 MB, free: 5 MB / 366.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)