Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.OneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneLine") translateModel(PowerSysPro.Tests.OneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 106.8 kB / 17.07 MB, free: 5.68 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.001503/0.001503, allocations: 196 kB / 18.01 MB, free: 5.02 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.354/1.354, allocations: 222.9 MB / 241.7 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.04742/0.04742, allocations: 8.1 MB / 300 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 64.08 kB / 363.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.221, allocations: 51.52 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002014/0.223, allocations: 1.264 MB / 415.9 MB, free: 24.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2241, allocations: 1.247 MB / 417.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.2241, allocations: 4 kB / 417.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.2244, allocations: 107.5 kB / 417.3 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.2245, allocations: 59.59 kB / 417.4 MB, free: 22.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009/0.2255, allocations: 0.7389 MB / 418.1 MB, free: 22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.2256, allocations: 135.4 kB / 418.2 MB, free: 21.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2258, allocations: 68.25 kB / 418.3 MB, free: 21.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.2258, allocations: 59.78 kB / 418.4 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.2259, allocations: 63.75 kB / 418.4 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.2259, allocations: 12 kB / 418.4 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.2261, allocations: 143.8 kB / 418.6 MB, free: 21.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.2261, allocations: 31.86 kB / 418.6 MB, free: 21.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.182e-05/0.2262, allocations: 67.72 kB / 418.7 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.2265, allocations: 256.9 kB / 418.9 MB, free: 21.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2265, allocations: 0 / 418.9 MB, free: 21.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2265, allocations: 0 / 418.9 MB, free: 21.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2265, allocations: 0 / 418.9 MB, free: 21.18 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.001043/0.2275, allocations: 0.5614 MB / 419.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2276, allocations: 15.89 kB / 419.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.2276, allocations: 12.75 kB / 419.5 MB, free: 20.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.2278, allocations: 214.8 kB / 419.7 MB, free: 20.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2278, allocations: 8.375 kB / 419.7 MB, free: 20.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.2278, allocations: 16.38 kB / 419.7 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.228, allocations: 154.2 kB / 419.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2281, allocations: 192 / 419.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2281, allocations: 7.938 kB / 419.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2281, allocations: 7.984 kB / 419.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.2282, allocations: 108 kB / 420 MB, free: 20 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.2289, allocations: 0.5234 MB / 420.5 MB, free: 19.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008167/0.2297, allocations: 154.4 kB / 420.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.2298, allocations: 40.86 kB / 420.7 MB, free: 19.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.2299, allocations: 89.03 kB / 420.8 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.2299, allocations: 30.56 kB / 420.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.2299, allocations: 0 / 420.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001061/0.231, allocations: 355.4 kB / 421.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.231, allocations: 55.41 kB / 421.2 MB, free: 18.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.2311, allocations: 133.7 kB / 421.4 MB, free: 18.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.2311, allocations: 29.7 kB / 421.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.2312, allocations: 124 kB / 421.5 MB, free: 18.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.2312, allocations: 27.56 kB / 421.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.2313, allocations: 37.7 kB / 421.6 MB, free: 18.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.2313, allocations: 318.8 kB / 421.9 MB, free: 17.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.481e-05/0.2314, allocations: 39.98 kB / 421.9 MB, free: 17.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.2315, allocations: 57.64 kB / 422 MB, free: 17.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.2316, allocations: 97.72 kB / 422.1 MB, free: 17.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2316, allocations: 0 / 422.1 MB, free: 17.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004239/0.232, allocations: 218.2 kB / 422.3 MB, free: 17.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2321, allocations: 4 kB / 422.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2321, allocations: 0 / 422.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003939/0.2325, allocations: 76.77 kB / 422.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.2325, allocations: 23.92 kB / 422.4 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.2338, allocations: 1.645 MB / 424.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/0.2339, allocations: 7.938 kB / 424.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2339, allocations: 4 kB / 424.1 MB, free: 15.61 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 7.5e-05/0.234, allocations: 121.9 kB / 424.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.234, allocations: 15.84 kB / 424.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004528/0.2345, allocations: 218.6 kB / 424.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2345, allocations: 0 / 424.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2345, allocations: 4 kB / 424.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2345, allocations: 0 / 424.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.2347, allocations: 229.4 kB / 424.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2347, allocations: 0 / 424.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.2347, allocations: 11.98 kB / 424.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003152/0.235, allocations: 80.7 kB / 424.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2351, allocations: 4 kB / 424.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.2363, allocations: 1.629 MB / 426.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2363, allocations: 3.938 kB / 426.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.2367, allocations: 280.2 kB / 426.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.2367, allocations: 92.89 kB / 426.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.2367, allocations: 0 / 426.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2369, allocations: 8 kB / 426.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.2369, allocations: 7.984 kB / 426.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.2369, allocations: 0 / 426.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.721e-05/0.2369, allocations: 102.8 kB / 426.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.237, allocations: 0 / 426.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.2373, allocations: 48 kB / 426.9 MB, free: 12.53 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.0001555/0.2374, allocations: 131.1 kB / 427 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005868/0.238, allocations: 258.7 kB / 427.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.238, allocations: 4 kB / 427.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.2384, allocations: 194.7 kB / 427.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.2386, allocations: 8.062 kB / 427.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.2391, allocations: 283.3 kB / 427.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.2392, allocations: 0.7158 MB / 428.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.588e-05/0.2393, allocations: 12.64 kB / 428.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.2393, allocations: 11.44 kB / 428.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2393, allocations: 0 / 428.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Templates: time 0.004539/0.2438, allocations: 1.963 MB / 430.5 MB, free: 8.875 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneLine.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & ./PowerSysPro_PowerSysPro.Tests.OneLine -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)