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.001232/0.001232, 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.001201/0.001201, 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.402/1.402, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1758/0.1758, allocations: 38.03 MB / 329.7 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 60.38 kB / 398.8 MB, free: 34.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 58.07 MB / 456.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005874/0.1115, allocations: 4.556 MB / 461.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.1134, allocations: 1.309 MB / 462.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.1135, allocations: 11.94 kB / 462.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.1147, allocations: 410.3 kB / 463.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.1152, allocations: 254.8 kB / 463.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.1156, allocations: 167.6 kB / 463.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000538/0.1162, allocations: 0.5608 MB / 464.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.1166, allocations: 289.2 kB / 464.4 MB, free: 496 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.117, allocations: 251 kB / 464.6 MB, free: 244 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000499/0.1175, allocations: 275 kB / 464.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.1176, allocations: 28 kB / 464.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.1178, allocations: 123.8 kB / 465.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.1181, allocations: 203.5 kB / 465.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.1183, allocations: 214.9 kB / 465.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.1188, allocations: 0.5139 MB / 466 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1188, allocations: 3.938 kB / 466 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1188, allocations: 0 / 466 MB, free: 14.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1188, allocations: 0 / 466 MB, free: 14.89 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.001064/0.1199, allocations: 0.6952 MB / 466.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1199, allocations: 15.89 kB / 466.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005709/0.1205, allocations: 80.41 kB / 466.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006087/0.1211, allocations: 391.2 kB / 467.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.1212, allocations: 25.31 kB / 467.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.1213, allocations: 48.11 kB / 467.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.122, allocations: 480.8 kB / 467.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.122, allocations: 7.938 kB / 467.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.1221, allocations: 16 kB / 467.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.1222, allocations: 24.98 kB / 467.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.1227, allocations: 351.7 kB / 468.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.1249, allocations: 1.733 MB / 469.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.1252, allocations: 153.1 kB / 470 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.1254, allocations: 118 kB / 470.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1254, allocations: 3.938 kB / 470.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1254, allocations: 38.5 kB / 470.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.552e-06/0.1254, allocations: 3.938 kB / 470.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001486/0.1269, allocations: 0.8795 MB / 471 MB, free: 9.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.127, allocations: 81.11 kB / 471.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.1273, allocations: 308.5 kB / 471.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1273, allocations: 33.7 kB / 471.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.1275, allocations: 255.4 kB / 471.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.1276, allocations: 63.09 kB / 471.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.564e-05/0.1277, allocations: 58.11 kB / 471.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1278, allocations: 346.8 kB / 472.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.128, allocations: 96.22 kB / 472.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.1282, allocations: 205.3 kB / 472.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.1286, allocations: 322.7 kB / 472.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1286, allocations: 4 kB / 472.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008725/0.1295, allocations: 477 kB / 473.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1295, allocations: 12.03 kB / 473.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005974/0.1301, allocations: 308.4 kB / 473.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/0.1306, allocations: 136.7 kB / 473.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.1308, allocations: 67.84 kB / 473.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.1337, allocations: 2.45 MB / 476.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.1338, allocations: 12 kB / 476.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.1339, allocations: 12 kB / 476.2 MB, free: 4.031 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.0001865/0.1341, allocations: 193.7 kB / 476.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.1341, allocations: 27.72 kB / 476.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/0.1346, allocations: 269.2 kB / 476.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1346, allocations: 4 kB / 476.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1346, allocations: 0 / 476.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1346, allocations: 0 / 476.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.1357, allocations: 0.7421 MB / 477.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1357, allocations: 0 / 477.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.1359, allocations: 43.91 kB / 477.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.136, allocations: 32.83 kB / 477.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.136, allocations: 8 kB / 477.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.136, allocations: 0 / 477.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.136, allocations: 64 / 477.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.1365, allocations: 453.5 kB / 477.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.1366, allocations: 100.7 kB / 478 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.1367, allocations: 8 kB / 478 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1368, allocations: 8.031 kB / 478.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1369, allocations: 19.92 kB / 478.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1369, allocations: 8 kB / 478.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001995/0.1371, allocations: 219 kB / 478.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1371, allocations: 0 / 478.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.1375, allocations: 88 kB / 478.4 MB, free: 1.707 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.0001102/0.1376, allocations: 103.1 kB / 478.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007128/0.1384, allocations: 434.2 kB / 478.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1384, allocations: 0 / 478.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.1386, allocations: 178.7 kB / 479.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.1391, allocations: 63.77 kB / 479.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.1404, allocations: 0.8709 MB / 480 MB, free: 0 / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.141, allocations: 0.8458 MB / 480.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.1412, allocations: 70.91 kB / 480.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.1412, allocations: 23.44 kB / 481 MB, free: 15.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1412, allocations: 0 / 481 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Templates: time 0.00847/0.1497, allocations: 3.8 MB / 484.8 MB, free: 11.26 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)