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.0008721/0.0008725, allocations: 91.91 kB / 16.65 MB, free: 6.598 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.001005/0.001005, allocations: 175.9 kB / 17.56 MB, free: 6.203 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.401/1.401, allocations: 223.2 MB / 241.6 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1909/0.1909, allocations: 38.08 MB / 330.8 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003047, allocations: 9.719 kB / 400.7 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09741, allocations: 59.16 MB / 459.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005127/0.1026, allocations: 4.822 MB / 464.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.1046, allocations: 1.472 MB / 466.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.1049, allocations: 27.81 kB / 466.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1051, allocations: 83.5 kB / 466.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004551/0.1056, allocations: 235 kB / 466.5 MB, free: 432 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.106, allocations: 151.7 kB / 466.6 MB, free: 280 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007335/0.1067, allocations: 0.8495 MB / 467.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008454/0.1076, allocations: 0.5476 MB / 468 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.1079, allocations: 203 kB / 468.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004462/0.1083, allocations: 279.1 kB / 468.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.1084, allocations: 16 kB / 468.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.1086, allocations: 131.7 kB / 468.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.1088, allocations: 179.5 kB / 468.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.1091, allocations: 224.6 kB / 469.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.1096, allocations: 0.4905 MB / 469.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1096, allocations: 3.938 kB / 469.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1096, allocations: 0 / 469.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1096, allocations: 0 / 469.6 MB, free: 13.33 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.001114/0.1107, allocations: 0.6329 MB / 470.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1108, allocations: 8.031 kB / 470.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005705/0.1114, allocations: 80.41 kB / 470.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.112, allocations: 391.2 kB / 470.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.112, allocations: 29.31 kB / 470.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.1122, allocations: 48.11 kB / 470.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/0.1129, allocations: 484.8 kB / 471.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.1129, allocations: 3.938 kB / 471.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.113, allocations: 15.98 kB / 471.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.1131, allocations: 28.98 kB / 471.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/0.1136, allocations: 351.7 kB / 471.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.1158, allocations: 1.733 MB / 473.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.1161, allocations: 153.1 kB / 473.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.1162, allocations: 109.7 kB / 473.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1163, allocations: 7.922 kB / 473.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1163, allocations: 38.56 kB / 473.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1163, allocations: 0 / 473.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001575/0.1179, allocations: 0.8839 MB / 474.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.1179, allocations: 81.23 kB / 474.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.1182, allocations: 316.5 kB / 474.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1183, allocations: 25.7 kB / 474.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1185, allocations: 255.4 kB / 475.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.1185, allocations: 67.09 kB / 475.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.1186, allocations: 33.7 kB / 475.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1187, allocations: 342.8 kB / 475.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.1189, allocations: 96.22 kB / 475.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.1191, allocations: 213.1 kB / 475.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.1195, allocations: 330.6 kB / 476.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1195, allocations: 0 / 476.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008396/0.1203, allocations: 476.7 kB / 476.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1204, allocations: 8 kB / 476.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005876/0.121, allocations: 308.4 kB / 477 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005028/0.1215, allocations: 141.1 kB / 477.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.1217, allocations: 55.91 kB / 477.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/0.1244, allocations: 2.204 MB / 479.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.1246, allocations: 15.92 kB / 479.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.1246, allocations: 12 kB / 479.4 MB, free: 2.805 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.0002189/0.1249, allocations: 185.7 kB / 479.6 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.1249, allocations: 31.62 kB / 479.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/0.1254, allocations: 261.4 kB / 479.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1254, allocations: 8 kB / 479.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1254, allocations: 8 kB / 479.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1254, allocations: 0 / 479.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1265, allocations: 0.7287 MB / 480.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.1265, allocations: 7.984 kB / 480.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.1267, allocations: 39.98 kB / 480.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.1268, allocations: 36.83 kB / 480.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1268, allocations: 8 kB / 480.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1268, allocations: 0 / 480.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.1268, allocations: 4 kB / 480.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.1274, allocations: 448.8 kB / 481.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.766e-05/0.1275, allocations: 112.8 kB / 481.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.1276, allocations: 0 / 481.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.1277, allocations: 11.98 kB / 481.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.1278, allocations: 16.02 kB / 481.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.1278, allocations: 11.98 kB / 481.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.128, allocations: 215.1 kB / 481.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.128, allocations: 0 / 481.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004514/0.1285, allocations: 92 kB / 481.6 MB, free: 488 kB / 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.0001425/0.1286, allocations: 107.2 kB / 481.7 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007126/0.1294, allocations: 406.9 kB / 482.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1294, allocations: 0 / 482.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.1296, allocations: 181.8 kB / 482.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.1301, allocations: 53.06 kB / 482.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.1316, allocations: 1.088 MB / 483.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.1321, allocations: 0.8461 MB / 484.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000188/0.1323, allocations: 58.92 kB / 484.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.1323, allocations: 23.44 kB / 484.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.294e-06/0.1323, allocations: 0 / 484.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of Templates: time 0.007648/0.14, allocations: 3.593 MB / 488 MB, free: 10.06 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)