Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",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.001357/0.001357, allocations: 115 kB / 16.63 MB, free: 6.812 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.001477/0.001477, allocations: 186 kB / 17.55 MB, free: 5.934 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.328/1.328, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1761/0.1761, allocations: 38.03 MB / 329.4 MB, free: 8.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 61.55 kB / 398.4 MB, free: 34.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1093, allocations: 58.06 MB / 456.4 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006857/0.1162, allocations: 5.213 MB / 461.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.1192, allocations: 1.48 MB / 463.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.1197, allocations: 35.81 kB / 463.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.1209, allocations: 377.7 kB / 463.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007614/0.1217, allocations: 231 kB / 463.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.1223, allocations: 159.7 kB / 463.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007233/0.123, allocations: 0.5569 MB / 464.5 MB, free: 232 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005594/0.1236, allocations: 309.2 kB / 464.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.1241, allocations: 258.9 kB / 465 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005754/0.1247, allocations: 299 kB / 465.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.779e-05/0.1248, allocations: 32 kB / 465.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.1251, allocations: 127.8 kB / 465.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.1253, allocations: 191.5 kB / 465.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.1255, allocations: 219 kB / 465.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005074/0.126, allocations: 0.5177 MB / 466.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.126, allocations: 0 / 466.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.126, allocations: 0 / 466.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.126, allocations: 0 / 466.4 MB, free: 14.3 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001068/0.1271, allocations: 0.7029 MB / 467.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1271, allocations: 11.89 kB / 467.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.893e-05/0.1272, allocations: 78.7 kB / 467.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005509/0.1278, allocations: 84.31 kB / 467.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.1284, allocations: 383.3 kB / 467.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1284, allocations: 29.38 kB / 467.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.1285, allocations: 51.83 kB / 467.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.1292, allocations: 476.8 kB / 468.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1292, allocations: 0 / 468.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.1293, allocations: 16 kB / 468.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.1294, allocations: 24.98 kB / 468.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.1299, allocations: 363.6 kB / 468.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.1319, allocations: 1.725 MB / 470.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.1322, allocations: 157.1 kB / 470.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1323, allocations: 117 kB / 470.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1324, allocations: 15.86 kB / 470.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1324, allocations: 30.56 kB / 470.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.1324, allocations: 0 / 470.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001379/0.1338, allocations: 0.8803 MB / 471.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.1339, allocations: 81.09 kB / 471.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.1341, allocations: 312.4 kB / 471.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1342, allocations: 29.7 kB / 471.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.1343, allocations: 255.6 kB / 472.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.1344, allocations: 63.11 kB / 472.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.1345, allocations: 61.88 kB / 472.3 MB, free: 8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1346, allocations: 346.7 kB / 472.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1347, allocations: 100.2 kB / 472.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.1349, allocations: 197.4 kB / 472.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.1353, allocations: 330.4 kB / 473.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1353, allocations: 7.984 kB / 473.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008097/0.1362, allocations: 472.6 kB / 473.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1362, allocations: 4 kB / 473.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005763/0.1368, allocations: 316.3 kB / 474 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004862/0.1373, allocations: 136.9 kB / 474.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.1374, allocations: 51.91 kB / 474.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/0.1403, allocations: 2.449 MB / 476.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.1405, allocations: 19.98 kB / 476.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.1405, allocations: 8 kB / 476.7 MB, free: 3.355 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.1407, allocations: 193.7 kB / 476.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.1408, allocations: 27.62 kB / 476.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000433/0.1412, allocations: 269.3 kB / 477.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1413, allocations: 0 / 477.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1413, allocations: 4 kB / 477.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1413, allocations: 0 / 477.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.1424, allocations: 0.7352 MB / 477.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1424, allocations: 8 kB / 477.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.1426, allocations: 43.91 kB / 478 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.887e-05/0.1427, allocations: 36.89 kB / 478 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.1428, allocations: 8 kB / 478 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1428, allocations: 4 kB / 478 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1428, allocations: 0 / 478 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.1433, allocations: 448.8 kB / 478.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.521e-05/0.1434, allocations: 104.7 kB / 478.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.1435, allocations: 11.97 kB / 478.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.1436, allocations: 11.94 kB / 478.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.1437, allocations: 11.97 kB / 478.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.1437, allocations: 8 kB / 478.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002085/0.1439, allocations: 215.1 kB / 478.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1439, allocations: 0 / 478.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.1444, allocations: 88 kB / 478.9 MB, free: 1.023 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008479/0.1452, allocations: 0.9793 MB / 479.9 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007495/0.146, allocations: 430.2 kB / 480.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.146, allocations: 4.875 kB / 480.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.1462, allocations: 174 kB / 480.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.1467, allocations: 68.23 kB / 480.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.1514, allocations: 3.714 MB / 484.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.1519, allocations: 0.8418 MB / 485.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.1521, allocations: 66.91 kB / 485.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.1523, allocations: 123.4 kB / 485.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1523, allocations: 0 / 485.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.1742, allocations: 7.13 MB / 492.4 MB, free: 3.383 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.1745, allocations: 231.4 kB / 492.6 MB, free: 3.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.16, allocations: 3.875 kB / 492.6 MB, free: 3.125 MB / 366.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)