Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 177.1 kB / 15.78 MB, free: 6.352 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 221.9 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009021/0.0009022, allocations: 98.28 kB / 270.3 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2566/0.2566, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09086, allocations: 56.33 MB / 479.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004638/0.09554, allocations: 4.602 MB / 483.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.09749, allocations: 1.459 MB / 485.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.09769, allocations: 23.81 kB / 485.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.09799, allocations: 99.28 kB / 485.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.0985, allocations: 266.7 kB / 485.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.0989, allocations: 163.7 kB / 485.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005907/0.09951, allocations: 0.662 MB / 486.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007708/0.1003, allocations: 0.5154 MB / 486.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.1006, allocations: 219 kB / 487.1 MB, free: 9.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.101, allocations: 267.2 kB / 487.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.101, allocations: 16 kB / 487.3 MB, free: 9.703 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.1012, allocations: 83.81 kB / 487.4 MB, free: 9.621 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.1014, allocations: 175.5 kB / 487.6 MB, free: 9.449 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/0.1015, allocations: 105.5 kB / 487.7 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.1019, allocations: 391 kB / 488.1 MB, free: 8.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1019, allocations: 0 / 488.1 MB, free: 8.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1019, allocations: 0 / 488.1 MB, free: 8.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1019, allocations: 0 / 488.1 MB, free: 8.957 MB / 330.7 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.0009632/0.1029, allocations: 0.625 MB / 488.7 MB, free: 8.277 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1029, allocations: 8.031 kB / 488.7 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005275/0.1035, allocations: 95.27 kB / 488.8 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.104, allocations: 386.1 kB / 489.2 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1041, allocations: 21 kB / 489.2 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.1042, allocations: 47.97 kB / 489.2 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.1048, allocations: 464.8 kB / 489.7 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1049, allocations: 8 kB / 489.7 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.1049, allocations: 23.94 kB / 489.7 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.865e-05/0.105, allocations: 24.98 kB / 489.8 MB, free: 7.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.1055, allocations: 335.7 kB / 490.1 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.1075, allocations: 1.718 MB / 491.8 MB, free: 4.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.1078, allocations: 145.1 kB / 491.9 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.108, allocations: 101.7 kB / 492 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.108, allocations: 4 kB / 492 MB, free: 4.715 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.108, allocations: 46.48 kB / 492.1 MB, free: 4.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.654e-06/0.108, allocations: 0 / 492.1 MB, free: 4.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001385/0.1094, allocations: 0.8463 MB / 492.9 MB, free: 3.738 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1095, allocations: 77.11 kB / 493 MB, free: 3.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.1098, allocations: 312.4 kB / 493.3 MB, free: 3.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1098, allocations: 29.7 kB / 493.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.11, allocations: 243.5 kB / 493.6 MB, free: 3.055 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.11, allocations: 67.09 kB / 493.6 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.1101, allocations: 8 kB / 493.7 MB, free: 2.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1102, allocations: 346.8 kB / 494 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.1104, allocations: 88.23 kB / 494.1 MB, free: 2.547 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.1106, allocations: 193.2 kB / 494.3 MB, free: 2.312 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.1108, allocations: 132.6 kB / 494.4 MB, free: 2.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1108, allocations: 4 kB / 494.4 MB, free: 2.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008231/0.1117, allocations: 455.9 kB / 494.8 MB, free: 1.727 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1117, allocations: 8 kB / 494.9 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005527/0.1122, allocations: 284.5 kB / 495.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004525/0.1127, allocations: 128.8 kB / 495.3 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.1129, allocations: 55.91 kB / 495.3 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.1155, allocations: 2.147 MB / 497.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.1157, allocations: 19.94 kB / 497.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1157, allocations: 16 kB / 497.5 MB, free: 14.93 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.1159, allocations: 193.6 kB / 497.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.116, allocations: 23.72 kB / 497.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.1164, allocations: 257.3 kB / 498 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1164, allocations: 0 / 498 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1164, allocations: 7.953 kB / 498 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1164, allocations: 3.938 kB / 498 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.1175, allocations: 0.7117 MB / 498.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1175, allocations: 3.953 kB / 498.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.1177, allocations: 51.84 kB / 498.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.1178, allocations: 32.91 kB / 498.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.1178, allocations: 3.984 kB / 498.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.119, allocations: 1.486 MB / 0.4885 GB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.119, allocations: 0 / 0.4885 GB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.1195, allocations: 426.2 kB / 0.4889 GB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.1196, allocations: 100.7 kB / 0.489 GB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.1196, allocations: 15.97 kB / 0.4891 GB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1198, allocations: 4 kB / 0.4891 GB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.1198, allocations: 15.98 kB / 0.4891 GB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1199, allocations: 7.984 kB / 0.4891 GB, free: 11.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002007/0.1201, allocations: 211.1 kB / 0.4893 GB, free: 11.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1201, allocations: 4 kB / 0.4893 GB, free: 11.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004043/0.1205, allocations: 88 kB / 0.4894 GB, free: 11.06 MB / 346.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001215/0.1206, allocations: 103.2 kB / 0.4895 GB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006386/0.1213, allocations: 390.6 kB / 0.4898 GB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1213, allocations: 0 / 0.4898 GB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.1216, allocations: 227.4 kB / 0.4901 GB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.122, allocations: 57.98 kB / 0.4901 GB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.1234, allocations: 1.127 MB / 0.4912 GB, free: 9.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.1238, allocations: 0.8458 MB / 0.492 GB, free: 8.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.1239, allocations: 27.44 kB / 0.4921 GB, free: 8.191 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1239, allocations: 3.938 kB / 0.4921 GB, free: 8.188 MB / 346.7 MB Notification: Performance of Templates: time 0.007103/0.131, allocations: 5.666 MB / 0.4976 GB, free: 2.52 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)