Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 106.4 kB / 17.74 MB, free: 5.348 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.00116/0.00116, allocations: 185.4 kB / 18.67 MB, free: 4.43 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.291/1.291, allocations: 205.1 MB / 224.6 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.1755/0.1755, allocations: 37.99 MB / 309.9 MB, free: 5.957 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.001402/0.001402, allocations: 71.89 kB / 432.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08931/0.09072, allocations: 55.24 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.005735/0.0965, allocations: 4.541 MB / 492.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.09862, allocations: 1.535 MB / 493.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.09881, allocations: 11.94 kB / 493.9 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.09921, allocations: 107.2 kB / 494 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.09983, allocations: 290.2 kB / 494.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.1001, allocations: 107.8 kB / 494.4 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006351/0.1007, allocations: 0.5058 MB / 494.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.101, allocations: 163.9 kB / 495 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.1012, allocations: 207.1 kB / 495.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.1015, allocations: 211.1 kB / 495.4 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.1016, allocations: 27.94 kB / 495.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.1016, allocations: 28 kB / 495.5 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1018, allocations: 95.72 kB / 495.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.102, allocations: 187 kB / 495.8 MB, free: 328 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.1024, allocations: 382.7 kB / 496.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1024, allocations: 0 / 496.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1024, allocations: 0 / 496.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1024, allocations: 4 kB / 496.2 MB, free: 15.94 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001042/0.1034, allocations: 0.6592 MB / 496.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1035, allocations: 11.89 kB / 496.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.1036, allocations: 40.47 kB / 496.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.1042, allocations: 407.6 kB / 497.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.1042, allocations: 24.5 kB / 497.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.1043, allocations: 31.91 kB / 497.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.1048, allocations: 334.2 kB / 497.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1048, allocations: 0 / 497.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.1048, allocations: 12 kB / 497.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1048, allocations: 8 kB / 497.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.1052, allocations: 201.5 kB / 497.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.1066, allocations: 1.482 MB / 499.3 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.107, allocations: 194.4 kB / 499.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.1072, allocations: 83.42 kB / 499.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1072, allocations: 3.984 kB / 499.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.1072, allocations: 34.56 kB / 499.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.1073, allocations: 3.938 kB / 499.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001081/0.1083, allocations: 0.6939 MB / 0.4886 GB, free: 11.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.1084, allocations: 128.5 kB / 0.4887 GB, free: 11.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.1087, allocations: 321.6 kB / 0.4891 GB, free: 10.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1088, allocations: 25.7 kB / 0.4891 GB, free: 10.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.1089, allocations: 215.8 kB / 0.4893 GB, free: 10.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.109, allocations: 63.09 kB / 0.4893 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.1091, allocations: 61.59 kB / 0.4894 GB, free: 10.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1092, allocations: 342.9 kB / 0.4897 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.1093, allocations: 51.95 kB / 0.4898 GB, free: 10.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.1095, allocations: 152.8 kB / 0.4899 GB, free: 9.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.1097, allocations: 216.7 kB / 0.4901 GB, free: 9.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1097, allocations: 0 / 0.4901 GB, free: 9.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003727/0.1101, allocations: 268.9 kB / 0.4904 GB, free: 9.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1101, allocations: 4 kB / 0.4904 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1102, allocations: 8 kB / 0.4904 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1102, allocations: 4.438 kB / 0.4904 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.1106, allocations: 87.83 kB / 0.4905 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008478/0.1114, allocations: 1.373 MB / 0.4918 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.1116, allocations: 12 kB / 0.4918 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.1116, allocations: 12 kB / 0.4919 GB, free: 7.797 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.1118, allocations: 165.7 kB / 0.492 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.1119, allocations: 27.62 kB / 0.492 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.1122, allocations: 192.5 kB / 0.4922 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1122, allocations: 0 / 0.4922 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1122, allocations: 0 / 0.4922 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.93e-05/0.1123, allocations: 104.7 kB / 0.4923 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.1123, allocations: 8 kB / 0.4923 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.1125, allocations: 4 kB / 0.4923 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.1126, allocations: 19.86 kB / 0.4923 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000553/0.1131, allocations: 0.4907 MB / 0.4928 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004928/0.1136, allocations: 0.6368 MB / 0.4934 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001073/0.1137, allocations: 56.02 kB / 0.4935 GB, free: 6.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.114, allocations: 219.2 kB / 0.4937 GB, free: 5.832 MB / 382.1 MB Notification: Performance of Backend: time 4.41e-07/0.114, allocations: 0 / 0.4937 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007862/0.1148, allocations: 198.6 kB / 0.4939 GB, free: 5.629 MB / 382.1 MB Notification: Performance of SimCode: time 0.001563/0.1163, allocations: 1.274 MB / 0.4951 GB, free: 4.312 MB / 382.1 MB Notification: Performance of Templates: time 0.007153/0.1235, allocations: 3.468 MB / 0.4985 GB, free: 0.8359 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1)