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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 82.64 kB / 21.48 MB, free: 3.023 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 164.7 kB / 24.88 MB, free: 9.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9443/0.9443, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03003/0.03003, allocations: 4.483 MB / 266.3 MB, free: 8.371 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") translateModel(PowerSysPro.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 337.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.16e-05, allocations: 9.203 kB / 337.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002977/0.003008, allocations: 1.249 MB / 338.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.004796, allocations: 1.259 MB / 340.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.004924, allocations: 4 kB / 340.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.005254, allocations: 107.3 kB / 340.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.005428, allocations: 55.62 kB / 340.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.006026, allocations: 0.5405 MB / 340.9 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.006252, allocations: 147.2 kB / 341 MB, free: 9.645 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.006369, allocations: 43.72 kB / 341.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.006434, allocations: 79.86 kB / 341.2 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.006505, allocations: 47.83 kB / 341.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.006524, allocations: 16 kB / 341.2 MB, free: 9.461 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.006764, allocations: 135.7 kB / 341.4 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.006786, allocations: 27.91 kB / 341.4 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.00682, allocations: 47.84 kB / 341.4 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.007069, allocations: 231.3 kB / 341.7 MB, free: 9.027 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.007073, allocations: 3.938 kB / 341.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007074, allocations: 4 kB / 341.7 MB, free: 9.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.007079, allocations: 0 / 341.7 MB, free: 9.02 MB / 266.7 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.0007019/0.007781, allocations: 0.5856 MB / 342.3 MB, free: 8.395 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.007815, allocations: 8.031 kB / 342.3 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.007861, allocations: 32.84 kB / 342.3 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.007984, allocations: 140.5 kB / 342.4 MB, free: 8.191 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.007996, allocations: 20.3 kB / 342.5 MB, free: 8.172 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.008012, allocations: 12.38 kB / 342.5 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.008136, allocations: 120.4 kB / 342.6 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.008143, allocations: 192 / 342.6 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.008153, allocations: 8.375 kB / 342.6 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.008159, allocations: 4.375 kB / 342.6 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.008212, allocations: 39.91 kB / 342.6 MB, free: 7.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.008621, allocations: 459.6 kB / 343.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.008992, allocations: 127 kB / 343.2 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.009021, allocations: 27.67 kB / 343.2 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.686e-05/0.009088, allocations: 7.984 kB / 343.2 MB, free: 7.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.009103, allocations: 37.39 kB / 343.3 MB, free: 7.281 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.009104, allocations: 0 / 343.3 MB, free: 7.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005285/0.009632, allocations: 225.1 kB / 343.5 MB, free: 7.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.449e-05/0.009647, allocations: 55.41 kB / 343.6 MB, free: 6.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.935e-05/0.009706, allocations: 196.9 kB / 343.7 MB, free: 6.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.009716, allocations: 25.7 kB / 343.8 MB, free: 6.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.009756, allocations: 175 kB / 343.9 MB, free: 6.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.009769, allocations: 31.7 kB / 344 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.009806, allocations: 43.34 kB / 344 MB, free: 6.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.993e-05/0.009846, allocations: 0.4884 MB / 344.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.854e-05/0.009874, allocations: 19.98 kB / 344.5 MB, free: 5.965 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.009909, allocations: 43.34 kB / 344.6 MB, free: 5.914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.476e-05/0.009973, allocations: 67.25 kB / 344.6 MB, free: 5.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.009975, allocations: 0 / 344.6 MB, free: 5.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002342/0.01021, allocations: 153.1 kB / 344.8 MB, free: 5.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.01022, allocations: 4 kB / 344.8 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01023, allocations: 3.984 kB / 344.8 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.01046, allocations: 75.55 kB / 344.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.275e-05/0.01051, allocations: 19.94 kB / 344.9 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007741/0.01128, allocations: 1.854 MB / 346.7 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.01132, allocations: 11.95 kB / 346.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.01133, allocations: 0 / 346.7 MB, free: 3.594 MB / 266.7 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 5.921e-05/0.01139, allocations: 164.6 kB / 346.9 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.01141, allocations: 11.89 kB / 346.9 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.01164, allocations: 161.7 kB / 347.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01165, allocations: 4 kB / 347.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01165, allocations: 3.938 kB / 347.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01165, allocations: 3.984 kB / 347.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.01176, allocations: 133.2 kB / 347.2 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01176, allocations: 0 / 347.2 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.01178, allocations: 11.98 kB / 347.2 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001885/0.01197, allocations: 71.53 kB / 347.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.01198, allocations: 0 / 347.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006746/0.01265, allocations: 1.858 MB / 349.2 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01265, allocations: 0 / 349.2 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.01287, allocations: 287.5 kB / 349.4 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.01288, allocations: 11.89 kB / 349.5 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.01289, allocations: 8.031 kB / 349.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.016e-05/0.01294, allocations: 4 kB / 349.5 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.01296, allocations: 7.984 kB / 349.5 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-06/0.01297, allocations: 7.984 kB / 349.5 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.572e-05/0.01299, allocations: 135.2 kB / 349.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01299, allocations: 4 kB / 349.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.01321, allocations: 47.89 kB / 349.7 MB, free: 500 kB / 266.7 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.0001248/0.01334, allocations: 111.2 kB / 349.8 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.01365, allocations: 289.4 kB / 350.1 MB, free: 64 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01365, allocations: 0 / 350.1 MB, free: 64 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.01385, allocations: 249.4 kB / 350.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.01402, allocations: 11.88 kB / 350.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.01455, allocations: 274.7 kB / 350.6 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.485e-05/0.01459, allocations: 67.34 kB / 350.6 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.295e-05/0.01463, allocations: 16.7 kB / 350.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.01468, allocations: 74.2 kB / 350.7 MB, free: 15.31 MB / 282.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01468, allocations: 0 / 350.7 MB, free: 15.31 MB / 282.7 MB Notification: Performance of Templates: time 0.004162/0.01884, allocations: 2.356 MB / 353.1 MB, free: 12.96 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6888131322339177]