Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") translateModel(PowerSysPro.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 119.5 kB / 17.13 MB, free: 5.957 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.001369/0.001369, allocations: 194.2 kB / 18.06 MB, free: 5.035 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.342/1.342, allocations: 222.9 MB / 241.8 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04731/0.04731, allocations: 8.1 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.88 kB / 415.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08011/0.0814, allocations: 51.51 MB / 466.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002394/0.08383, allocations: 1.271 MB / 467.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.08538, allocations: 1.247 MB / 469.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.08549, allocations: 4 kB / 469.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.08588, allocations: 103.5 kB / 469.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.0861, allocations: 67.59 kB / 469.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.08733, allocations: 0.7311 MB / 470.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.08757, allocations: 139.3 kB / 470.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.08772, allocations: 69.45 kB / 470.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.0878, allocations: 55.84 kB / 470.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.0879, allocations: 67.69 kB / 470.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.08793, allocations: 16 kB / 470.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.08821, allocations: 139.8 kB / 470.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.08824, allocations: 27.92 kB / 470.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.08831, allocations: 71.64 kB / 470.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.08867, allocations: 255.2 kB / 470.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.08868, allocations: 7.938 kB / 470.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.08869, allocations: 0 / 470.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.0887, allocations: 0 / 470.9 MB, free: 13.93 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001313/0.09002, allocations: 0.5614 MB / 471.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.09007, allocations: 11.89 kB / 471.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.09013, allocations: 16.75 kB / 471.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.09032, allocations: 200.2 kB / 471.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.09034, allocations: 12.38 kB / 471.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.09037, allocations: 12.38 kB / 471.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.09063, allocations: 150.2 kB / 471.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.09065, allocations: 192 / 471.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.09068, allocations: 15.92 kB / 471.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.09069, allocations: 0 / 471.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.09089, allocations: 116 kB / 472 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007625/0.09166, allocations: 0.5195 MB / 472.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/0.09249, allocations: 150.5 kB / 472.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.453e-05/0.09258, allocations: 40.86 kB / 472.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.09271, allocations: 89.03 kB / 472.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.09274, allocations: 38.69 kB / 472.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.09275, allocations: 0 / 472.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001162/0.09391, allocations: 347.2 kB / 473.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.09397, allocations: 55.41 kB / 473.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.09408, allocations: 141.6 kB / 473.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.09411, allocations: 25.7 kB / 473.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.09419, allocations: 128 kB / 473.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.09422, allocations: 27.56 kB / 473.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.09428, allocations: 29.7 kB / 473.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.09445, allocations: 322.8 kB / 473.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/0.09453, allocations: 43.92 kB / 473.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.09463, allocations: 61.58 kB / 474 MB, free: 10.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.09486, allocations: 97.72 kB / 474.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.09487, allocations: 0 / 474.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005667/0.09545, allocations: 214.2 kB / 474.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.09548, allocations: 12.03 kB / 474.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.09549, allocations: 3.938 kB / 474.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004325/0.09592, allocations: 76.77 kB / 474.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.09601, allocations: 15.98 kB / 474.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.09785, allocations: 1.648 MB / 476 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.09794, allocations: 7.844 kB / 476 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.09796, allocations: 4.031 kB / 476 MB, free: 8.355 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.09808, allocations: 125.8 kB / 476.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.09812, allocations: 7.906 kB / 476.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/0.09865, allocations: 206.8 kB / 476.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.09866, allocations: 4 kB / 476.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.09867, allocations: 0 / 476.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.09868, allocations: 0 / 476.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.09893, allocations: 233.4 kB / 476.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.09894, allocations: 0 / 476.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.099, allocations: 19.94 kB / 476.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003485/0.09935, allocations: 76.77 kB / 476.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.09938, allocations: 8 kB / 476.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.101, allocations: 1.629 MB / 478.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.101, allocations: 64 / 478.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.1015, allocations: 280.1 kB / 478.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.1015, allocations: 85.02 kB / 478.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1016, allocations: 0 / 478.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1017, allocations: 4 kB / 478.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.1017, allocations: 12.36 kB / 478.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1017, allocations: 8 kB / 478.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.854e-05/0.1018, allocations: 102.9 kB / 478.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.1018, allocations: 0 / 478.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.1021, allocations: 55.72 kB / 478.9 MB, free: 5.277 MB / 350.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 (8): * Single equations (assignments): 7 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001673/0.1023, allocations: 127.1 kB / 479 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006589/0.103, allocations: 254.8 kB / 479.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.103, allocations: 4.062 kB / 479.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.1034, allocations: 198.6 kB / 479.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.1037, allocations: 11.94 kB / 479.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006333/0.1043, allocations: 303.6 kB / 479.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1046, allocations: 0.708 MB / 480.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.1046, allocations: 11.44 kB / 480.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1046, allocations: 4 kB / 480.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of Templates: time 0.004244/0.1089, allocations: 2.288 MB / 482.8 MB, free: 1.289 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & ./PowerSysPro_PowerSysPro.Tests.OnePerfectLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1)