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.001091/0.001091, allocations: 109.1 kB / 17.12 MB, free: 5.941 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.001068/0.001068, allocations: 199 kB / 18.06 MB, free: 5.023 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.381/1.381, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.06469/0.06469, allocations: 8.099 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.89 kB / 415.1 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08444/0.08572, allocations: 51.52 MB / 466.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002386/0.08814, allocations: 1.271 MB / 467.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.08972, allocations: 1.247 MB / 469.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.08984, allocations: 4 kB / 469.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.0902, allocations: 111.5 kB / 469.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.09043, allocations: 55.61 kB / 469.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.09204, allocations: 0.735 MB / 470.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.09241, allocations: 131.3 kB / 470.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.09263, allocations: 77.44 kB / 470.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.09272, allocations: 47.86 kB / 470.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.09285, allocations: 67.7 kB / 470.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.09289, allocations: 12 kB / 470.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.09316, allocations: 151.8 kB / 470.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.0932, allocations: 23.92 kB / 470.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.09327, allocations: 63.67 kB / 470.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.09366, allocations: 271.2 kB / 470.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.09367, allocations: 3.938 kB / 470.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.09368, allocations: 0 / 470.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.09369, allocations: 0 / 470.9 MB, free: 13.92 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.001259/0.09496, allocations: 0.5536 MB / 471.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.095, allocations: 15.88 kB / 471.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.09505, allocations: 16.75 kB / 471.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.09524, allocations: 204.2 kB / 471.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.09526, allocations: 12.38 kB / 471.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.09531, allocations: 12.38 kB / 471.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.09557, allocations: 146.2 kB / 471.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.09558, allocations: 192 / 471.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.09562, allocations: 15.94 kB / 471.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.09563, allocations: 0 / 471.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.09581, allocations: 112 kB / 472 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007271/0.09654, allocations: 0.5117 MB / 472.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/0.09735, allocations: 158.5 kB / 472.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.29e-05/0.09743, allocations: 40.84 kB / 472.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.09757, allocations: 97.02 kB / 472.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.0976, allocations: 34.69 kB / 472.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.09761, allocations: 3.938 kB / 472.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001119/0.09873, allocations: 351.3 kB / 473.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.09877, allocations: 51.41 kB / 473.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.09888, allocations: 140.7 kB / 473.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.09891, allocations: 29.7 kB / 473.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.09897, allocations: 124 kB / 473.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.09901, allocations: 27.56 kB / 473.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.09907, allocations: 29.7 kB / 473.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.09918, allocations: 322.8 kB / 473.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.09926, allocations: 36 kB / 473.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.538e-05/0.09937, allocations: 69.5 kB / 474 MB, free: 10.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.09954, allocations: 101.7 kB / 474.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.09955, allocations: 0 / 474.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005359/0.1001, allocations: 210.2 kB / 474.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1001, allocations: 8 kB / 474.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1001, allocations: 0 / 474.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004224/0.1006, allocations: 80.7 kB / 474.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.1006, allocations: 19.98 kB / 474.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.1024, allocations: 1.64 MB / 476 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.961e-05/0.1025, allocations: 11.84 kB / 476 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.1025, allocations: 4.031 kB / 476 MB, free: 8.352 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.0001041/0.1026, allocations: 122 kB / 476.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.1026, allocations: 11.89 kB / 476.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/0.1032, allocations: 202.7 kB / 476.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1032, allocations: 4 kB / 476.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1032, allocations: 0 / 476.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1032, allocations: 0 / 476.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.1035, allocations: 233.4 kB / 476.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1035, allocations: 0 / 476.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.1035, allocations: 23.92 kB / 476.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003491/0.1039, allocations: 76.77 kB / 476.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1039, allocations: 4 kB / 476.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.1055, allocations: 1.641 MB / 478.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1055, allocations: 384 / 478.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.106, allocations: 276.1 kB / 478.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.1061, allocations: 85.02 kB / 478.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1061, allocations: 0 / 478.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1062, allocations: 8 kB / 478.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1063, allocations: 11.98 kB / 478.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1063, allocations: 4 kB / 478.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.737e-05/0.1064, allocations: 99.27 kB / 478.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.675e-06/0.1064, allocations: 0 / 478.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000316/0.1067, allocations: 55.78 kB / 478.9 MB, free: 5.27 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.0001553/0.1068, allocations: 119.5 kB / 479 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.1075, allocations: 266.8 kB / 479.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1076, allocations: 0 / 479.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.108, allocations: 198.6 kB / 479.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.1082, allocations: 8 kB / 479.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/0.1088, allocations: 311.5 kB / 479.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.1091, allocations: 0.708 MB / 480.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.1091, allocations: 19.44 kB / 480.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1091, allocations: 0 / 480.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of Templates: time 0.004047/0.1132, allocations: 2.306 MB / 482.8 MB, free: 1.258 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)