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: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 102.1 kB / 16.62 MB, free: 6.809 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.00119/0.00119, allocations: 193.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.359/1.359, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1711/0.1711, allocations: 38.02 MB / 329.4 MB, free: 8.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 65.53 kB / 398.3 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1027, allocations: 58.06 MB / 456.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.007234/0.11, allocations: 5.213 MB / 461.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1124, allocations: 1.492 MB / 463 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003875/0.1128, allocations: 27.81 kB / 463.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.114, allocations: 378 kB / 463.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005928/0.1146, allocations: 239 kB / 463.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.115, allocations: 143.8 kB / 463.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006396/0.1157, allocations: 0.5685 MB / 464.4 MB, free: 344 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.1162, allocations: 309.2 kB / 464.7 MB, free: 40 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/0.1166, allocations: 247 kB / 464.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007167/0.1174, allocations: 303 kB / 465.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.1175, allocations: 32 kB / 465.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.1179, allocations: 131.8 kB / 465.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.1182, allocations: 187.5 kB / 465.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.1186, allocations: 222.9 kB / 465.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006894/0.1193, allocations: 0.51 MB / 466.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1193, allocations: 4 kB / 466.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1193, allocations: 0 / 466.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.743e-05/0.1193, allocations: 0 / 466.3 MB, free: 14.42 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.001438/0.1208, allocations: 0.7029 MB / 467 MB, free: 13.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/0.1209, allocations: 15.89 kB / 467 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007355/0.1216, allocations: 80.31 kB / 467.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/0.1223, allocations: 387.3 kB / 467.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.1223, allocations: 29.36 kB / 467.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.1225, allocations: 52.11 kB / 467.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/0.1232, allocations: 476.8 kB / 468 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1233, allocations: 7.906 kB / 468 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.1233, allocations: 19.98 kB / 468 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.1234, allocations: 24.98 kB / 468.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005485/0.124, allocations: 351.7 kB / 468.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.1265, allocations: 1.729 MB / 470.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.1268, allocations: 157.1 kB / 470.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.127, allocations: 116.3 kB / 470.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.127, allocations: 8.203 kB / 470.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1271, allocations: 34.56 kB / 470.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.1271, allocations: 0 / 470.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001565/0.1286, allocations: 0.8877 MB / 471.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1287, allocations: 77.11 kB / 471.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.1291, allocations: 316.4 kB / 471.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1291, allocations: 25.7 kB / 471.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1293, allocations: 255.6 kB / 472 MB, free: 8.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.246e-05/0.1293, allocations: 71.08 kB / 472.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-05/0.1294, allocations: 53.98 kB / 472.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1296, allocations: 346.8 kB / 472.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.1298, allocations: 92.22 kB / 472.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.13, allocations: 205.3 kB / 472.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.1304, allocations: 330.2 kB / 473.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1304, allocations: 0 / 473.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009922/0.1314, allocations: 476.9 kB / 473.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1314, allocations: 4 kB / 473.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000682/0.1321, allocations: 316.3 kB / 473.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004867/0.1326, allocations: 136.9 kB / 474 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.1328, allocations: 55.92 kB / 474 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.1359, allocations: 2.451 MB / 476.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.1361, allocations: 16 kB / 476.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.1362, allocations: 12 kB / 476.5 MB, free: 3.551 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.0002122/0.1364, allocations: 185.7 kB / 476.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.1365, allocations: 31.61 kB / 476.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004819/0.1369, allocations: 265.3 kB / 477 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.137, allocations: 7.938 kB / 477 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.137, allocations: 0 / 477 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.137, allocations: 3.984 kB / 477 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.1382, allocations: 0.739 MB / 477.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1382, allocations: 0 / 477.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.1384, allocations: 35.98 kB / 477.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.1386, allocations: 44.88 kB / 477.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1386, allocations: 0 / 477.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1386, allocations: 4 kB / 477.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1386, allocations: 0 / 477.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.1392, allocations: 452.9 kB / 478.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.1394, allocations: 100.7 kB / 478.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.1394, allocations: 8 kB / 478.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.1396, allocations: 8.031 kB / 478.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.1396, allocations: 19.86 kB / 478.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.1397, allocations: 4 kB / 478.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.1399, allocations: 223 kB / 478.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1399, allocations: 0 / 478.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004588/0.1404, allocations: 84 kB / 478.7 MB, free: 1.23 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.0001282/0.1405, allocations: 107.2 kB / 478.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007745/0.1413, allocations: 423 kB / 479.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1413, allocations: 8.125 kB / 479.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.1415, allocations: 181.8 kB / 479.4 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.1421, allocations: 64.12 kB / 479.5 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.1437, allocations: 1.016 MB / 480.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.1441, allocations: 0.8419 MB / 481.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.1444, allocations: 66.91 kB / 481.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.1444, allocations: 23.44 kB / 481.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1444, allocations: 3.938 kB / 481.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Templates: time 0.008325/0.1528, allocations: 3.812 MB / 485.2 MB, free: 10.62 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)