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.001127/0.001127, allocations: 111 kB / 16.63 MB, free: 6.797 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.001095/0.001095, allocations: 185.8 kB / 17.55 MB, free: 5.953 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.307/1.307, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1691/0.1691, allocations: 38.03 MB / 329.4 MB, free: 9.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 61.91 kB / 398.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1053, allocations: 58.07 MB / 456.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006409/0.1118, allocations: 5.345 MB / 461.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.1144, allocations: 1.523 MB / 463.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004858/0.1149, allocations: 27.81 kB / 463.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.1163, allocations: 382.5 kB / 463.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006865/0.117, allocations: 219 kB / 463.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.1175, allocations: 163.7 kB / 464.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007183/0.1182, allocations: 0.5528 MB / 464.6 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006251/0.1189, allocations: 369.8 kB / 465 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.1193, allocations: 243 kB / 465.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.1198, allocations: 298.9 kB / 465.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/0.1199, allocations: 32 kB / 465.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.1202, allocations: 131.8 kB / 465.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.1204, allocations: 183.5 kB / 465.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.1206, allocations: 226.9 kB / 466.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006256/0.1213, allocations: 0.5217 MB / 466.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1213, allocations: 0 / 466.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1213, allocations: 0 / 466.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.1213, allocations: 0 / 466.6 MB, free: 14.11 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.001237/0.1226, allocations: 0.7146 MB / 467.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1226, allocations: 11.89 kB / 467.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.084e-05/0.1227, allocations: 74.72 kB / 467.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006935/0.1234, allocations: 88.3 kB / 467.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006376/0.1241, allocations: 400.1 kB / 467.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.1241, allocations: 25.38 kB / 467.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.1243, allocations: 51.83 kB / 468 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.125, allocations: 480.8 kB / 468.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.125, allocations: 7.938 kB / 468.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.1251, allocations: 8 kB / 468.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.1252, allocations: 28.98 kB / 468.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.1257, allocations: 355.7 kB / 468.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.1279, allocations: 1.629 MB / 470.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.1283, allocations: 177.1 kB / 470.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.1285, allocations: 113.7 kB / 470.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1285, allocations: 3.984 kB / 470.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1285, allocations: 42.5 kB / 470.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.146e-06/0.1285, allocations: 0 / 470.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001381/0.1299, allocations: 0.7784 MB / 471.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.13, allocations: 77.11 kB / 471.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.1303, allocations: 316.4 kB / 471.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.1303, allocations: 29.7 kB / 472 MB, free: 8.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1305, allocations: 255.6 kB / 472.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.1305, allocations: 74.98 kB / 472.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/0.1306, allocations: 61.69 kB / 472.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1308, allocations: 338.8 kB / 472.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1309, allocations: 99.94 kB / 472.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.1311, allocations: 204.5 kB / 473 MB, free: 7.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.1316, allocations: 331.4 kB / 473.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1316, allocations: 0 / 473.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008005/0.1324, allocations: 425.7 kB / 473.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1324, allocations: 4 kB / 473.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004905/0.1329, allocations: 266.9 kB / 474 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/0.1332, allocations: 80.72 kB / 474.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.1335, allocations: 68.03 kB / 474.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.1351, allocations: 1.726 MB / 475.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.1353, allocations: 11.98 kB / 475.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.1353, allocations: 12 kB / 475.9 MB, free: 4.234 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.0001958/0.1355, allocations: 189.7 kB / 476.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.1356, allocations: 31.62 kB / 476.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.136, allocations: 266.4 kB / 476.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.136, allocations: 0 / 476.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.136, allocations: 7.984 kB / 476.4 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.136, allocations: 3.938 kB / 476.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.1371, allocations: 0.742 MB / 477.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1371, allocations: 4.062 kB / 477.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.1374, allocations: 47.97 kB / 477.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1374, allocations: 7.938 kB / 477.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.1375, allocations: 8 kB / 477.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1375, allocations: 0 / 477.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1375, allocations: 15.86 kB / 477.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.138, allocations: 450.2 kB / 477.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.1381, allocations: 112.7 kB / 477.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.1381, allocations: 4 kB / 477.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1383, allocations: 8 kB / 477.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.1383, allocations: 15.97 kB / 477.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1384, allocations: 8 kB / 477.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.1386, allocations: 219 kB / 478 MB, free: 1.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1386, allocations: 4 kB / 478 MB, free: 1.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004004/0.139, allocations: 84 kB / 478.1 MB, free: 1.91 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.0007484/0.1397, allocations: 0.987 MB / 479.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006711/0.1404, allocations: 398.1 kB / 479.5 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1404, allocations: 0 / 479.5 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.1406, allocations: 107.8 kB / 479.6 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.1411, allocations: 76.59 kB / 479.6 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.1454, allocations: 3.695 MB / 483.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.1458, allocations: 0.8576 MB / 484.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.146, allocations: 74.84 kB / 484.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.1462, allocations: 135.4 kB / 484.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1462, allocations: 4 kB / 484.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.1677, allocations: 6.995 MB / 491.4 MB, free: 4.508 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.1679, allocations: 227.7 kB / 491.6 MB, free: 4.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.137, allocations: 4 kB / 491.6 MB, free: 4.246 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)