Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 117.6 kB / 17.13 MB, free: 5.961 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.001206/0.001206, allocations: 195 kB / 18.06 MB, free: 5.039 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.327/1.327, allocations: 222.9 MB / 241.8 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04708/0.04708, allocations: 8.102 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.89 kB / 415.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08275/0.08393, allocations: 51.52 MB / 466.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.003747/0.08772, allocations: 2.302 MB / 469 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.0901, allocations: 1.668 MB / 470.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.09035, allocations: 4 kB / 470.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.09086, allocations: 163.1 kB / 470.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006116/0.09148, allocations: 210.7 kB / 471 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.09372, allocations: 1.225 MB / 472.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006148/0.09435, allocations: 410 kB / 472.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.0946, allocations: 131.2 kB / 472.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.09484, allocations: 171.3 kB / 472.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.09517, allocations: 211.1 kB / 473.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.954e-05/0.09526, allocations: 32 kB / 473.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005126/0.09578, allocations: 267.8 kB / 473.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.09587, allocations: 83.67 kB / 473.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.09606, allocations: 195 kB / 473.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007514/0.09682, allocations: 0.5726 MB / 474.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.09684, allocations: 7.875 kB / 474.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09685, allocations: 0 / 474.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.09686, allocations: 0 / 474.3 MB, free: 10.52 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.005134/0.102, allocations: 1.365 MB / 475.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1021, allocations: 15.89 kB / 475.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.1022, allocations: 44.47 kB / 475.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.1026, allocations: 323.5 kB / 476 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.1026, allocations: 20.94 kB / 476 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.1027, allocations: 40.36 kB / 476.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.1034, allocations: 476.9 kB / 476.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1035, allocations: 192 / 476.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.1035, allocations: 15.94 kB / 476.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1035, allocations: 8 kB / 476.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006313/0.1042, allocations: 418.1 kB / 477 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.1068, allocations: 2.009 MB / 479 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/0.1078, allocations: 0.5141 MB / 479.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.1082, allocations: 280.8 kB / 479.8 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.4e-05/0.1082, allocations: 15.97 kB / 479.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1083, allocations: 38.56 kB / 479.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.1083, allocations: 4 kB / 479.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00687/0.1152, allocations: 1.869 MB / 481.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.1152, allocations: 106.8 kB / 481.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.1156, allocations: 282.8 kB / 482.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.1156, allocations: 37.7 kB / 482.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1157, allocations: 168.8 kB / 482.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.1159, allocations: 145.8 kB / 482.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.1161, allocations: 106.2 kB / 482.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1162, allocations: 342.8 kB / 482.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.1167, allocations: 293 kB / 483.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.1171, allocations: 348.6 kB / 483.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009512/0.1181, allocations: 0.6451 MB / 484.1 MB, free: 216 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1181, allocations: 4.031 kB / 484.1 MB, free: 212 kB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003469/0.1216, allocations: 1.272 MB / 485.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1216, allocations: 8 kB / 485.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1216, allocations: 7.938 kB / 485.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003657/0.1253, allocations: 0.7767 MB / 486.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.1257, allocations: 91.89 kB / 486.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007754/0.1335, allocations: 4.162 MB / 490.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.134, allocations: 59.42 kB / 490.5 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.134, allocations: 16 kB / 490.5 MB, free: 9.676 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.0002406/0.1343, allocations: 170.6 kB / 490.7 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1344, allocations: 35.56 kB / 490.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/0.1381, allocations: 1.23 MB / 492 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1381, allocations: 4 kB / 492 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.1381, allocations: 0 / 492 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1381, allocations: 3.984 kB / 492 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.1388, allocations: 0.5598 MB / 492.5 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1388, allocations: 4 kB / 492.5 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.1391, allocations: 63.91 kB / 492.6 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003531/0.1426, allocations: 0.749 MB / 493.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/0.1428, allocations: 8 kB / 493.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007882/0.1507, allocations: 4.129 MB / 497.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1507, allocations: 0 / 497.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003706/0.1544, allocations: 1.242 MB / 498.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.1546, allocations: 112.5 kB / 498.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/0.1546, allocations: 15.94 kB / 498.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.155, allocations: 27.97 kB / 498.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.1552, allocations: 36.39 kB / 498.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.926e-05/0.1552, allocations: 23.88 kB / 498.9 MB, free: 1.012 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.1554, allocations: 194 kB / 499.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1555, allocations: 4 kB / 499.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007107/0.1562, allocations: 175.9 kB / 499.3 MB, free: 0.6484 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.0002353/0.1564, allocations: 119.2 kB / 499.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002657/0.1591, allocations: 1.047 MB / 0.4887 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.1591, allocations: 0 / 0.4887 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.161, allocations: 0.6882 MB / 0.4894 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.1614, allocations: 40.81 kB / 0.4894 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.1628, allocations: 0.7907 MB / 0.4902 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.1632, allocations: 0.8052 MB / 0.491 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1634, allocations: 35.42 kB / 0.491 GB, free: 13.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1634, allocations: 0 / 0.491 GB, free: 13.04 MB / 382.1 MB Notification: Performance of Templates: time 0.01296/0.1763, allocations: 7.746 MB / 0.4986 GB, free: 5.312 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)