Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 117.8 kB / 17.13 MB, free: 5.914 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.001943/0.001943, allocations: 192.1 kB / 18.06 MB, free: 4.996 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.474/1.474, allocations: 222.9 MB / 241.8 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05367/0.05367, allocations: 8.099 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 79.86 kB / 415.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09939/0.1014, allocations: 51.5 MB / 466.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003784/0.1051, allocations: 2.325 MB / 469 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.1077, allocations: 1.66 MB / 470.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1078, allocations: 8 kB / 470.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005478/0.1083, allocations: 167 kB / 470.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00055/0.1089, allocations: 210.7 kB / 471 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.1113, allocations: 1.213 MB / 472.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006735/0.112, allocations: 413.9 kB / 472.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.1122, allocations: 91.2 kB / 472.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.1124, allocations: 171.3 kB / 472.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.1127, allocations: 211.1 kB / 473.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.1127, allocations: 32 kB / 473.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.1133, allocations: 267.8 kB / 473.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.54e-05/0.1134, allocations: 83.67 kB / 473.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1136, allocations: 195 kB / 473.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007449/0.1143, allocations: 0.58 MB / 474.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1143, allocations: 4 kB / 474.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1143, allocations: 0 / 474.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1143, allocations: 0 / 474.3 MB, free: 10.53 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.005417/0.1197, allocations: 1.382 MB / 475.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1198, allocations: 11.89 kB / 475.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.1199, allocations: 44.7 kB / 475.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.1204, allocations: 335.5 kB / 476 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.1204, allocations: 24.94 kB / 476 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.339e-05/0.1205, allocations: 40.38 kB / 476.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007973/0.1213, allocations: 473 kB / 476.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1213, allocations: 192 / 476.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.1214, allocations: 15.94 kB / 476.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.1214, allocations: 4 kB / 476.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.1221, allocations: 422.1 kB / 477 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.1251, allocations: 2.002 MB / 479 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009637/0.126, allocations: 490.4 kB / 479.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.1264, allocations: 244.8 kB / 479.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.857e-05/0.1265, allocations: 11.98 kB / 479.7 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.1266, allocations: 38.55 kB / 479.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.705e-06/0.1266, allocations: 0 / 479.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.007486/0.134, allocations: 1.904 MB / 481.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/0.1341, allocations: 106.8 kB / 481.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.1345, allocations: 282.8 kB / 482 MB, free: 2.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/0.1346, allocations: 41.7 kB / 482.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1348, allocations: 161 kB / 482.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.1349, allocations: 158.6 kB / 482.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.1351, allocations: 106.2 kB / 482.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1353, allocations: 342.8 kB / 482.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.1358, allocations: 293 kB / 483.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.1364, allocations: 356.6 kB / 483.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.1375, allocations: 0.649 MB / 484.1 MB, free: 236 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1375, allocations: 0 / 484.1 MB, free: 236 kB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003773/0.1412, allocations: 1.233 MB / 485.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.1413, allocations: 4 kB / 485.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.1413, allocations: 7.922 kB / 485.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003743/0.145, allocations: 0.7773 MB / 486.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.1455, allocations: 87.89 kB / 486.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007972/0.1534, allocations: 4.177 MB / 490.4 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.1539, allocations: 51.61 kB / 490.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.154, allocations: 24 kB / 490.5 MB, free: 9.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002351/0.1542, allocations: 166.6 kB / 490.6 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.206e-05/0.1543, allocations: 31.81 kB / 490.7 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/0.158, allocations: 1.195 MB / 491.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.158, allocations: 4 kB / 491.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.158, allocations: 4 kB / 491.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.158, allocations: 11.98 kB / 491.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007071/0.1587, allocations: 0.5561 MB / 492.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1587, allocations: 0 / 492.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.1589, allocations: 59.91 kB / 492.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/0.1626, allocations: 0.7499 MB / 493.2 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.1626, allocations: 12 kB / 493.2 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007848/0.1705, allocations: 4.128 MB / 497.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1705, allocations: 0 / 497.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003545/0.174, allocations: 1.207 MB / 498.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.1741, allocations: 116.7 kB / 498.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.1742, allocations: 12 kB / 498.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.1746, allocations: 23.98 kB / 498.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.1747, allocations: 36.39 kB / 498.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.1748, allocations: 23.86 kB / 498.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.175, allocations: 194 kB / 499 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.175, allocations: 0 / 499 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006531/0.1757, allocations: 179.9 kB / 499.2 MB, free: 0.7773 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002297/0.1759, allocations: 119.2 kB / 499.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.1785, allocations: 0.9884 MB / 0.4885 GB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.1785, allocations: 4 kB / 0.4885 GB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.1804, allocations: 0.6413 MB / 0.4892 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1808, allocations: 32.89 kB / 0.4892 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.1823, allocations: 0.7913 MB / 0.49 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.1827, allocations: 0.8013 MB / 0.4908 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.1829, allocations: 54.92 kB / 0.4908 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.954e-05/0.183, allocations: 35.42 kB / 0.4908 GB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.183, allocations: 0 / 0.4908 GB, free: 13.23 MB / 382.1 MB Notification: Performance of Templates: time 0.01982/0.2028, allocations: 11.86 MB / 0.5024 GB, free: 1.406 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)