Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.000953/0.000953, allocations: 78.66 kB / 21.42 MB, free: 3.082 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.001089/0.001089, allocations: 171.7 kB / 24.82 MB, free: 9.266 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 1.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2248/0.2248, allocations: 29.41 MB / 291.2 MB, free: 2.465 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.808e-05, allocations: 5.266 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005541/0.005569, allocations: 6.775 MB / 376.9 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.008612, allocations: 2.925 MB / 379.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.008894, allocations: 19.94 kB / 379.8 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000951/0.009845, allocations: 0.7119 MB / 380.5 MB, free: 252 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.01144, allocations: 1.108 MB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.01201, allocations: 310.9 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.01332, allocations: 1.367 MB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005699/0.01389, allocations: 396 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008887/0.01478, allocations: 0.7047 MB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007025/0.01548, allocations: 0.5997 MB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.745e-05/0.01554, allocations: 36 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.01674, allocations: 0.7941 MB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.017, allocations: 307.2 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.01714, allocations: 171.6 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008505/0.01799, allocations: 0.7281 MB / 387 MB, free: 9.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.018, allocations: 0 / 387 MB, free: 9.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.018, allocations: 0 / 387 MB, free: 9.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.018, allocations: 0 / 387 MB, free: 9.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0007428/0.01875, allocations: 0.8428 MB / 387.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.01879, allocations: 15.98 kB / 387.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009516/0.01974, allocations: 323 kB / 388.2 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.02003, allocations: 271.3 kB / 388.5 MB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.02006, allocations: 29.38 kB / 388.5 MB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.02009, allocations: 40.36 kB / 388.5 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.02046, allocations: 457.8 kB / 389 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.02047, allocations: 8.125 kB / 389 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.02049, allocations: 20.36 kB / 389 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.02053, allocations: 40.56 kB / 389.1 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.02069, allocations: 152.2 kB / 389.2 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.02232, allocations: 3.107 MB / 392.3 MB, free: 4.172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.0226, allocations: 264.5 kB / 392.6 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.792e-05/0.02269, allocations: 95.08 kB / 392.7 MB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.0227, allocations: 8 kB / 392.7 MB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.02273, allocations: 41.38 kB / 392.7 MB, free: 3.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.02273, allocations: 4 kB / 392.7 MB, free: 3.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007449/0.02347, allocations: 441.3 kB / 393.1 MB, free: 3.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.02352, allocations: 106.8 kB / 393.3 MB, free: 3.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.0237, allocations: 342 kB / 393.6 MB, free: 2.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.02372, allocations: 33.7 kB / 393.6 MB, free: 2.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.02385, allocations: 306.9 kB / 393.9 MB, free: 2.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.02392, allocations: 126.9 kB / 394 MB, free: 2.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.02399, allocations: 87.78 kB / 394.1 MB, free: 2.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.02414, allocations: 0.5273 MB / 394.7 MB, free: 1.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.005e-05/0.02419, allocations: 40.95 kB / 394.7 MB, free: 1.645 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.02434, allocations: 258.4 kB / 394.9 MB, free: 1.297 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.02458, allocations: 342.3 kB / 395.3 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.02458, allocations: 0 / 395.3 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003697/0.02495, allocations: 390.7 kB / 395.7 MB, free: 492 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.02496, allocations: 8 kB / 395.7 MB, free: 484 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.02497, allocations: 7.938 kB / 395.7 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.02516, allocations: 91.72 kB / 395.8 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.02529, allocations: 67.91 kB / 395.8 MB, free: 312 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.0267, allocations: 2.43 MB / 398.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.02681, allocations: 43.7 kB / 398.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.02683, allocations: 16 kB / 398.3 MB, free: 13.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.02694, allocations: 180.5 kB / 398.5 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.02699, allocations: 59.62 kB / 398.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.02703, allocations: 47.14 kB / 398.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02703, allocations: 4 kB / 398.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.02704, allocations: 0 / 398.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.02704, allocations: 11.92 kB / 398.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.02759, allocations: 0.5903 MB / 399.2 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02759, allocations: 0 / 399.2 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.02766, allocations: 39.92 kB / 399.2 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001428/0.0278, allocations: 83.8 kB / 399.3 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.02782, allocations: 12 kB / 399.3 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.0291, allocations: 2.407 MB / 401.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.0291, allocations: 0 / 401.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.02949, allocations: 0.5519 MB / 402.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.02953, allocations: 35.7 kB / 402.3 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.02955, allocations: 23.89 kB / 402.4 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.02963, allocations: 4 kB / 402.4 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.02967, allocations: 27.95 kB / 402.4 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.02968, allocations: 8 kB / 402.4 MB, free: 9.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.02978, allocations: 206.9 kB / 402.6 MB, free: 9.219 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02978, allocations: 4 kB / 402.6 MB, free: 9.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.03017, allocations: 155.8 kB / 402.8 MB, free: 9.062 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.131e-05/0.03027, allocations: 107.1 kB / 402.9 MB, free: 8.949 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004184/0.03068, allocations: 433.9 kB / 403.3 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.03069, allocations: 5.312 kB / 403.3 MB, free: 8.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.03091, allocations: 321.1 kB / 403.6 MB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.03123, allocations: 45.08 kB / 403.6 MB, free: 8.117 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.03225, allocations: 0.7216 MB / 404.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.03236, allocations: 165.5 kB / 404.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.623e-05/0.03242, allocations: 30.95 kB / 404.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.0325, allocations: 102.2 kB / 404.7 MB, free: 7.027 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.0325, allocations: 0 / 404.7 MB, free: 7.027 MB / 378.7 MB Notification: Performance of Templates: time 0.005982/0.03848, allocations: 3.863 MB / 408.5 MB, free: 3.207 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.960062460973859]