Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001565, allocations: 185 kB / 15.77 MB, free: 6.375 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.979/1.979, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.00115/0.00115, allocations: 98.8 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2698/0.2698, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006198/0.00062, allocations: 16 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1072, allocations: 56.33 MB / 479 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.006541/0.1138, allocations: 3.862 MB / 482.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.1165, allocations: 1.061 MB / 484 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004392/0.117, allocations: 19.88 kB / 484 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.1173, allocations: 47.61 kB / 484 MB, free: 13.01 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007922/0.1181, allocations: 179.4 kB / 484.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.1186, allocations: 103.8 kB / 484.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.1191, allocations: 207.6 kB / 484.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.1193, allocations: 68.77 kB / 484.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.1197, allocations: 127.5 kB / 484.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.1201, allocations: 115.6 kB / 484.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.1201, allocations: 19.98 kB / 484.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.741e-05/0.1202, allocations: 8 kB / 484.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1203, allocations: 75.69 kB / 484.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.1205, allocations: 69.58 kB / 485 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.1208, allocations: 187.5 kB / 485.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1208, allocations: 0 / 485.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1208, allocations: 0 / 485.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1208, allocations: 0 / 485.2 MB, free: 11.86 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001133/0.122, allocations: 0.5192 MB / 485.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.122, allocations: 8.031 kB / 485.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.35e-05/0.1222, allocations: 35.61 kB / 485.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.1228, allocations: 294.8 kB / 486 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.1228, allocations: 12.44 kB / 486 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.1229, allocations: 20 kB / 486 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.1235, allocations: 273.8 kB / 486.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1236, allocations: 0 / 486.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.1236, allocations: 8 kB / 486.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1236, allocations: 4 kB / 486.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.1241, allocations: 171.7 kB / 486.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.126, allocations: 1.171 MB / 487.7 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.1263, allocations: 77.17 kB / 487.7 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1263, allocations: 3.938 kB / 487.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.1264, allocations: 34.59 kB / 487.8 MB, free: 9.016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.1264, allocations: 4.062 kB / 487.8 MB, free: 9.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009924/0.1274, allocations: 412.8 kB / 488.2 MB, free: 8.555 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.1275, allocations: 77.11 kB / 488.3 MB, free: 8.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.1279, allocations: 250.5 kB / 488.5 MB, free: 8.203 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1279, allocations: 25.7 kB / 488.5 MB, free: 8.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.1281, allocations: 246.1 kB / 488.8 MB, free: 7.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.1282, allocations: 35.53 kB / 488.8 MB, free: 7.895 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.1282, allocations: 4 kB / 488.8 MB, free: 7.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1283, allocations: 326.9 kB / 489.1 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.61e-05/0.1284, allocations: 28.36 kB / 489.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.1286, allocations: 121.5 kB / 489.3 MB, free: 7.371 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.1288, allocations: 47.94 kB / 489.3 MB, free: 7.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1288, allocations: 0 / 489.3 MB, free: 7.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004009/0.1292, allocations: 165.3 kB / 489.5 MB, free: 7.156 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1292, allocations: 8.438 kB / 489.5 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1293, allocations: 8 kB / 489.5 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.1293, allocations: 4 kB / 489.5 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.1296, allocations: 43.92 kB / 489.5 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.1296, allocations: 7.984 kB / 489.6 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.1298, allocations: 7.984 kB / 489.6 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.1299, allocations: 19.95 kB / 489.6 MB, free: 7.059 MB / 330.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 (22): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.1301, allocations: 141.8 kB / 489.7 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.1302, allocations: 19.81 kB / 489.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.1304, allocations: 99.27 kB / 489.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1304, allocations: 4 kB / 489.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1305, allocations: 0 / 489.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.1305, allocations: 3.984 kB / 489.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.1312, allocations: 427.2 kB / 490.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1312, allocations: 0 / 490.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.1314, allocations: 15.94 kB / 490.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-06/0.1314, allocations: 4 kB / 490.3 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.1314, allocations: 4.453 kB / 490.3 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1314, allocations: 4 kB / 490.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.1314, allocations: 8 kB / 490.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.1319, allocations: 244.4 kB / 490.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.241e-05/0.132, allocations: 100.9 kB / 490.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.132, allocations: 3.953 kB / 490.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1323, allocations: 4 kB / 490.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1323, allocations: 11.92 kB / 490.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1324, allocations: 4 kB / 490.7 MB, free: 5.855 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002404/0.1326, allocations: 166 kB / 490.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1326, allocations: 0 / 490.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004504/0.1331, allocations: 40 kB / 490.9 MB, free: 5.656 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001397/0.1332, allocations: 103 kB / 491 MB, free: 5.547 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.1335, allocations: 95.7 kB / 491 MB, free: 5.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1335, allocations: 0 / 491 MB, free: 5.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.1336, allocations: 27.92 kB / 491.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.1342, allocations: 53.48 kB / 491.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1356, allocations: 0.6463 MB / 491.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.1361, allocations: 0.7678 MB / 492.5 MB, free: 3.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.1362, allocations: 23.38 kB / 492.6 MB, free: 3.871 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1362, allocations: 0 / 492.6 MB, free: 3.871 MB / 330.7 MB Notification: Performance of Templates: time 0.007129/0.1433, allocations: 2.576 MB / 495.1 MB, free: 1.289 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)