Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.001207, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001161/0.00116, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1752/0.1752, allocations: 37.98 MB / 309.9 MB, free: 5.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 75.89 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.093, allocations: 55.23 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006023/0.09906, allocations: 4.6 MB / 492.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1014, allocations: 1.349 MB / 493.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.1017, allocations: 15.88 kB / 493.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.1028, allocations: 402.3 kB / 494.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.1035, allocations: 250.8 kB / 494.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.104, allocations: 167.6 kB / 494.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007119/0.1047, allocations: 0.5607 MB / 495.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.1051, allocations: 293.2 kB / 495.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.1056, allocations: 255 kB / 495.6 MB, free: 452 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005255/0.1061, allocations: 287 kB / 495.9 MB, free: 164 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-05/0.1062, allocations: 32 kB / 496 MB, free: 132 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.1065, allocations: 127.7 kB / 496.1 MB, free: 4 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.1067, allocations: 191.5 kB / 496.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.1069, allocations: 215 kB / 496.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.1075, allocations: 0.514 MB / 497 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1076, allocations: 0 / 497 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.064e-05/0.1076, allocations: 3.984 kB / 497 MB, free: 15.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1076, allocations: 0 / 497 MB, free: 15.09 MB / 382.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.001177/0.1088, allocations: 0.6913 MB / 497.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1088, allocations: 11.89 kB / 497.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005847/0.1094, allocations: 88.31 kB / 497.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007156/0.1101, allocations: 423.1 kB / 498.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1102, allocations: 21.38 kB / 498.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.1103, allocations: 48.11 kB / 498.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.111, allocations: 472.8 kB / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.111, allocations: 0 / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.1111, allocations: 20 kB / 498.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.1112, allocations: 24.98 kB / 498.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.1118, allocations: 335.7 kB / 499.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.114, allocations: 1.698 MB / 0.4891 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.1143, allocations: 153.1 kB / 0.4892 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1145, allocations: 105.7 kB / 0.4893 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1145, allocations: 11.88 kB / 0.4893 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1146, allocations: 34.56 kB / 0.4894 GB, free: 10.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.1146, allocations: 4 kB / 0.4894 GB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001456/0.116, allocations: 0.8415 MB / 0.4902 GB, free: 9.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1161, allocations: 77.11 kB / 0.4903 GB, free: 9.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.1164, allocations: 308.6 kB / 0.4905 GB, free: 9.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1164, allocations: 33.7 kB / 0.4906 GB, free: 9.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1166, allocations: 251.4 kB / 0.4908 GB, free: 9.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.1167, allocations: 63.2 kB / 0.4909 GB, free: 9.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.1168, allocations: 57.88 kB / 0.4909 GB, free: 8.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1169, allocations: 342.8 kB / 0.4913 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.1171, allocations: 92.22 kB / 0.4913 GB, free: 8.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.1173, allocations: 193.3 kB / 0.4915 GB, free: 8.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.1177, allocations: 316.5 kB / 0.4918 GB, free: 7.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1177, allocations: 0 / 0.4918 GB, free: 7.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008685/0.1186, allocations: 465.5 kB / 0.4923 GB, free: 7.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1186, allocations: 8 kB / 0.4923 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005857/0.1192, allocations: 288.7 kB / 0.4926 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004877/0.1197, allocations: 137 kB / 0.4927 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.1199, allocations: 51.92 kB / 0.4927 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.1227, allocations: 2.382 MB / 0.4951 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.1229, allocations: 19.98 kB / 0.4951 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.123, allocations: 12 kB / 0.4951 GB, free: 4.461 MB / 382.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.0002038/0.1232, allocations: 193.6 kB / 0.4953 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.1232, allocations: 23.72 kB / 0.4953 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.1237, allocations: 257.3 kB / 0.4955 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1237, allocations: 0 / 0.4955 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1237, allocations: 4 kB / 0.4956 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.1238, allocations: 104.8 kB / 0.4957 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.1239, allocations: 11.86 kB / 0.4957 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.124, allocations: 8 kB / 0.4957 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.1241, allocations: 7.984 kB / 0.4957 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007509/0.1248, allocations: 444.8 kB / 0.4961 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005116/0.1253, allocations: 0.5484 MB / 0.4966 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001207/0.1255, allocations: 83.94 kB / 0.4967 GB, free: 2.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.1257, allocations: 215.1 kB / 0.4969 GB, free: 2.512 MB / 382.1 MB Notification: Performance of Backend: time 5.81e-07/0.1257, allocations: 3.938 kB / 0.4969 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1268, allocations: 469.3 kB / 0.4974 GB, free: 2.031 MB / 382.1 MB Notification: Performance of SimCode: time 0.0017/0.1285, allocations: 1.317 MB / 0.4987 GB, free: 0.668 MB / 382.1 MB Notification: Performance of Templates: time 0.01/0.1385, allocations: 4.681 MB / 0.5032 GB, free: 11.98 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)