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.001216/0.001216, allocations: 81.08 kB / 20.69 MB, free: 3.805 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.001426/0.001426, allocations: 169.7 kB / 24.09 MB, free: 416 kB / 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 1.083/1.083, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.0252/0.0252, allocations: 4.491 MB / 265.6 MB, free: 8.422 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.763e-06/1.763e-06, allocations: 0 / 336.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.777e-05, allocations: 9.547 kB / 336.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002204/0.002231, allocations: 1.241 MB / 338.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003533, allocations: 1.267 MB / 339.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.897e-05/0.003632, allocations: 0 / 339.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.003977, allocations: 107.3 kB / 339.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.004201, allocations: 51.62 kB / 339.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000729/0.00493, allocations: 0.5483 MB / 340.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.005128, allocations: 135.3 kB / 340.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.005244, allocations: 47.73 kB / 340.3 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.969e-05/0.005314, allocations: 83.8 kB / 340.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.005392, allocations: 51.8 kB / 340.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.005412, allocations: 12 kB / 340.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000239/0.005651, allocations: 135.8 kB / 340.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.005676, allocations: 31.84 kB / 340.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.005707, allocations: 39.92 kB / 340.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.005963, allocations: 231.2 kB / 340.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.005966, allocations: 4 kB / 340.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.005968, allocations: 0 / 340.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.005972, allocations: 4 kB / 340.9 MB, free: 9.043 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.0007116/0.006683, allocations: 0.5933 MB / 341.5 MB, free: 8.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.006718, allocations: 8.031 kB / 341.5 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.006759, allocations: 24.84 kB / 341.5 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.006876, allocations: 152.5 kB / 341.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.00689, allocations: 12.31 kB / 341.7 MB, free: 8.191 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.00691, allocations: 16.38 kB / 341.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.007069, allocations: 120.4 kB / 341.8 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.007077, allocations: 192 / 341.8 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.00709, allocations: 8.375 kB / 341.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.007095, allocations: 384 / 341.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.264e-05/0.007148, allocations: 47.89 kB / 341.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.007567, allocations: 451.7 kB / 342.3 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.008067, allocations: 131 kB / 342.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.008125, allocations: 27.67 kB / 342.5 MB, free: 7.352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.008232, allocations: 4 kB / 342.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.00825, allocations: 37.39 kB / 342.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.008251, allocations: 0 / 342.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005556/0.008807, allocations: 221.1 kB / 342.7 MB, free: 7.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.008825, allocations: 59.39 kB / 342.8 MB, free: 7.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.008895, allocations: 196.9 kB / 343 MB, free: 6.797 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.008905, allocations: 25.7 kB / 343 MB, free: 6.766 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.008949, allocations: 171 kB / 343.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.008963, allocations: 43.61 kB / 343.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.009, allocations: 35.38 kB / 343.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.208e-05/0.009053, allocations: 0.4884 MB / 343.7 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.009076, allocations: 19.98 kB / 343.7 MB, free: 5.984 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.009112, allocations: 39.34 kB / 343.8 MB, free: 5.938 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.86e-05/0.00918, allocations: 75.23 kB / 343.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.009182, allocations: 0 / 343.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00023/0.009412, allocations: 157.1 kB / 344 MB, free: 5.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.009427, allocations: 4 kB / 344 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.009433, allocations: 0 / 344 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/0.009683, allocations: 71.56 kB / 344.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.009726, allocations: 19.94 kB / 344.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008312/0.01056, allocations: 1.866 MB / 346 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.631e-05/0.01059, allocations: 7.953 kB / 346 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.0106, allocations: 4 kB / 346 MB, free: 3.602 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.852e-05/0.01066, allocations: 156.6 kB / 346.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.01068, allocations: 15.89 kB / 346.1 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.01091, allocations: 153.6 kB / 346.3 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.01091, allocations: 4 kB / 346.3 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01092, allocations: 3.938 kB / 346.3 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01092, allocations: 144 / 346.3 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.01103, allocations: 137.2 kB / 346.4 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01103, allocations: 0 / 346.4 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.01105, allocations: 19.92 kB / 346.5 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001704/0.01122, allocations: 71.52 kB / 346.5 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.01123, allocations: 4 kB / 346.5 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007112/0.01194, allocations: 1.858 MB / 348.4 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01194, allocations: 0 / 348.4 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.01217, allocations: 279.4 kB / 348.7 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.01218, allocations: 11.89 kB / 348.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.01219, allocations: 4 kB / 348.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.01224, allocations: 4.031 kB / 348.7 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.01227, allocations: 11.97 kB / 348.7 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-06/0.01227, allocations: 8 kB / 348.7 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.864e-05/0.0123, allocations: 135.2 kB / 348.8 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0123, allocations: 0 / 348.8 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.01253, allocations: 47.89 kB / 348.9 MB, free: 0.5078 MB / 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.0001279/0.01266, allocations: 123.3 kB / 349 MB, free: 384 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002967/0.01295, allocations: 285.6 kB / 349.3 MB, free: 76 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01296, allocations: 0 / 349.3 MB, free: 76 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.01316, allocations: 249.5 kB / 349.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.01333, allocations: 8 kB / 349.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.01388, allocations: 279.7 kB / 349.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.6e-05/0.01393, allocations: 71.33 kB / 349.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.358e-05/0.01396, allocations: 4.734 kB / 349.9 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.01402, allocations: 78.2 kB / 349.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01402, allocations: 0 / 349.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of Templates: time 0.004154/0.01817, allocations: 2.284 MB / 352.2 MB, free: 13.05 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.9528901390731335]