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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001112/0.001112, allocations: 99.12 kB / 16.02 MB, free: 6.328 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.001132/0.001132, allocations: 196.8 kB / 16.95 MB, free: 6.145 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05059/0.0506, allocations: 8.102 MB / 298.9 MB, free: 6.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 59.89 kB / 361.2 MB, free: 8.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2701, allocations: 51.52 MB / 412.7 MB, free: 25.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002204/0.2724, allocations: 1.32 MB / 414.1 MB, free: 24.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2736, allocations: 1.228 MB / 415.3 MB, free: 23.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.2737, allocations: 4 kB / 415.3 MB, free: 23.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.274, allocations: 91.66 kB / 415.4 MB, free: 23.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.2742, allocations: 47.73 kB / 415.4 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009165/0.2751, allocations: 0.7004 MB / 416.1 MB, free: 22.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.2753, allocations: 139.3 kB / 416.3 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2754, allocations: 65.33 kB / 416.3 MB, free: 22.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.2755, allocations: 55.84 kB / 416.4 MB, free: 22.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.535e-05/0.2756, allocations: 63.7 kB / 416.4 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.2756, allocations: 16 kB / 416.5 MB, free: 22.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.2758, allocations: 143.8 kB / 416.6 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.2758, allocations: 27.92 kB / 416.6 MB, free: 21.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.2759, allocations: 67.66 kB / 416.7 MB, free: 21.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.2761, allocations: 249.3 kB / 416.9 MB, free: 21.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2762, allocations: 3.938 kB / 416.9 MB, free: 21.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2762, allocations: 0 / 416.9 MB, free: 21.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.2762, allocations: 3.938 kB / 416.9 MB, free: 21.53 MB / 302.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.001099/0.2773, allocations: 0.5575 MB / 417.5 MB, free: 20.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2773, allocations: 12.03 kB / 417.5 MB, free: 20.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.2774, allocations: 12.75 kB / 417.5 MB, free: 20.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.2775, allocations: 204.2 kB / 417.7 MB, free: 20.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2776, allocations: 12.31 kB / 417.7 MB, free: 20.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.2776, allocations: 24.31 kB / 417.8 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.2778, allocations: 154.2 kB / 417.9 MB, free: 20.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2778, allocations: 192 / 417.9 MB, free: 20.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.2779, allocations: 7.938 kB / 417.9 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2779, allocations: 4 kB / 417.9 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.278, allocations: 116 kB / 418 MB, free: 20.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.2787, allocations: 0.5195 MB / 418.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/0.2795, allocations: 146.5 kB / 418.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.2796, allocations: 44.84 kB / 418.7 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.2797, allocations: 89.03 kB / 418.8 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.2797, allocations: 38.56 kB / 418.9 MB, free: 19.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.2797, allocations: 0 / 418.9 MB, free: 19.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001089/0.2808, allocations: 351.4 kB / 419.2 MB, free: 19.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.2809, allocations: 51.41 kB / 419.3 MB, free: 18.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.2809, allocations: 144.8 kB / 419.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.281, allocations: 25.7 kB / 419.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.281, allocations: 128 kB / 419.5 MB, free: 18.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.281, allocations: 31.55 kB / 419.6 MB, free: 18.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.2811, allocations: 29.7 kB / 419.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.52e-05/0.2811, allocations: 318.8 kB / 419.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.233e-05/0.2812, allocations: 35.98 kB / 420 MB, free: 18.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/0.2813, allocations: 69.69 kB / 420 MB, free: 18.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.2814, allocations: 105.7 kB / 420.1 MB, free: 18.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2814, allocations: 0 / 420.1 MB, free: 18.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004189/0.2819, allocations: 206.2 kB / 420.3 MB, free: 17.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2819, allocations: 8 kB / 420.3 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2819, allocations: 4.031 kB / 420.3 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.2823, allocations: 76.77 kB / 420.4 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.2824, allocations: 19.92 kB / 420.4 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.2837, allocations: 1.644 MB / 422.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.2838, allocations: 4.281 kB / 422.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2838, allocations: 8.031 kB / 422.1 MB, free: 15.95 MB / 302.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 8.149e-05/0.2839, allocations: 121.8 kB / 422.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.2839, allocations: 7.906 kB / 422.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.2844, allocations: 218.7 kB / 422.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2844, allocations: 4 kB / 422.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.2844, allocations: 0 / 422.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2844, allocations: 0 / 422.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.2846, allocations: 225.4 kB / 422.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2846, allocations: 3.938 kB / 422.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.2846, allocations: 19.98 kB / 422.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003147/0.2849, allocations: 68.78 kB / 422.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.285, allocations: 15.92 kB / 422.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.2862, allocations: 1.625 MB / 424.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2862, allocations: 0 / 424.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.2866, allocations: 284.3 kB / 424.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.2866, allocations: 88.95 kB / 424.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.2866, allocations: 7.938 kB / 424.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.2867, allocations: 0 / 424.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.2868, allocations: 8.125 kB / 424.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.2868, allocations: 8 kB / 424.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.719e-05/0.2868, allocations: 95.27 kB / 424.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2868, allocations: 0 / 424.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.2871, allocations: 44 kB / 424.9 MB, free: 12.88 MB / 302.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.0001539/0.2873, allocations: 136.5 kB / 425 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005846/0.2879, allocations: 262.7 kB / 425.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2879, allocations: 0 / 425.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.2882, allocations: 202.7 kB / 425.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.2885, allocations: 11.23 kB / 425.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.2891, allocations: 333.9 kB / 425.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.2892, allocations: 0.7119 MB / 426.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.862e-05/0.2893, allocations: 8.672 kB / 426.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.2893, allocations: 15.42 kB / 426.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2893, allocations: 0 / 426.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Templates: time 0.004276/0.2936, allocations: 1.987 MB / 428.6 MB, free: 9.148 MB / 302.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)