Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001356/0.001356, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001461/0.001461, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.1783/0.1783, allocations: 38.52 MB / 353.2 MB, free: 12.55 MB / 286.1 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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 71.89 kB / 493.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2856, allocations: 62.46 MB / 0.5432 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006162/0.2917, allocations: 4.729 MB / 0.5478 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.294, allocations: 1.357 MB / 0.5492 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.2942, allocations: 17.09 kB / 0.5492 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.2953, allocations: 421.1 kB / 0.5496 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005506/0.2959, allocations: 254 kB / 0.5498 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.2964, allocations: 172.2 kB / 0.55 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006462/0.297, allocations: 0.5587 MB / 0.5505 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.2974, allocations: 233.4 kB / 0.5508 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.2978, allocations: 276.6 kB / 0.551 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004675/0.2982, allocations: 303.8 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.2983, allocations: 29.94 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.2986, allocations: 140.1 kB / 0.5515 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.2988, allocations: 197.2 kB / 0.5517 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.299, allocations: 214.6 kB / 0.5519 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006586/0.2996, allocations: 0.5254 MB / 0.5524 GB, free: 9.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2996, allocations: 0 / 0.5524 GB, free: 9.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2996, allocations: 0 / 0.5524 GB, free: 9.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.2997, allocations: 1.156 kB / 0.5524 GB, free: 9.707 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001198/0.3009, allocations: 0.6323 MB / 0.553 GB, free: 9.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3009, allocations: 13.05 kB / 0.553 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005637/0.3015, allocations: 92.27 kB / 0.5531 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.3022, allocations: 348 kB / 0.5534 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.3022, allocations: 27.42 kB / 0.5535 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.3023, allocations: 47.89 kB / 0.5535 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007406/0.3031, allocations: 474.7 kB / 0.554 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3031, allocations: 5.125 kB / 0.554 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.3031, allocations: 19.23 kB / 0.554 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.3032, allocations: 25.48 kB / 0.554 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/0.3038, allocations: 353.1 kB / 0.5543 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.3061, allocations: 1.661 MB / 0.556 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.3064, allocations: 143.3 kB / 0.5561 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.3066, allocations: 106.1 kB / 0.5562 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3066, allocations: 5.312 kB / 0.5562 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.3066, allocations: 39.98 kB / 0.5562 GB, free: 6.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.3066, allocations: 5.188 kB / 0.5562 GB, free: 6.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001477/0.3081, allocations: 0.7489 MB / 0.557 GB, free: 6.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.3082, allocations: 77.11 kB / 0.5571 GB, free: 6.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.3085, allocations: 308.5 kB / 0.5573 GB, free: 5.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.3085, allocations: 25.7 kB / 0.5574 GB, free: 5.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3087, allocations: 260 kB / 0.5576 GB, free: 5.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.3088, allocations: 71.42 kB / 0.5577 GB, free: 5.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3089, allocations: 61.97 kB / 0.5577 GB, free: 5.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.309, allocations: 346.8 kB / 0.5581 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.3092, allocations: 96.22 kB / 0.5582 GB, free: 4.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.3095, allocations: 205.3 kB / 0.5584 GB, free: 4.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.3099, allocations: 323.3 kB / 0.5587 GB, free: 4.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3099, allocations: 8 kB / 0.5587 GB, free: 4.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008992/0.3108, allocations: 465.5 kB / 0.5591 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3108, allocations: 11.09 kB / 0.5591 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000638/0.3114, allocations: 300.8 kB / 0.5594 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005035/0.312, allocations: 140.6 kB / 0.5596 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.3121, allocations: 55.91 kB / 0.5596 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/0.3151, allocations: 2.346 MB / 0.5619 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.3153, allocations: 15.98 kB / 0.5619 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.3153, allocations: 16 kB / 0.5619 GB, free: 0.7812 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.3156, allocations: 193.7 kB / 0.5621 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.3156, allocations: 27.81 kB / 0.5621 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.3161, allocations: 265.3 kB / 0.5624 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3161, allocations: 4 kB / 0.5624 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.3161, allocations: 3.938 kB / 0.5624 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3161, allocations: 0 / 0.5624 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.3173, allocations: 0.7068 MB / 0.5631 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3173, allocations: 0 / 0.5631 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.3175, allocations: 47.91 kB / 0.5631 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.3176, allocations: 32.83 kB / 0.5632 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3176, allocations: 8.062 kB / 0.5632 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3176, allocations: 4 kB / 0.5632 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3176, allocations: 0 / 0.5632 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.3182, allocations: 442.5 kB / 0.5636 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.3183, allocations: 27.81 kB / 0.5636 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.3183, allocations: 8 kB / 0.5636 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.3185, allocations: 12.03 kB / 0.5637 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.3185, allocations: 15.91 kB / 0.5637 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3185, allocations: 4 kB / 0.5637 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.3187, allocations: 223.1 kB / 0.5639 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3187, allocations: 0 / 0.5639 GB, free: 14.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004488/0.3192, allocations: 87.98 kB / 0.564 GB, free: 14.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001154/0.3193, allocations: 103.2 kB / 0.5641 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007141/0.32, allocations: 405.7 kB / 0.5645 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.32, allocations: 0 / 0.5645 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.3202, allocations: 100.9 kB / 0.5645 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.3207, allocations: 64.98 kB / 0.5646 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.3221, allocations: 0.9306 MB / 0.5655 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.3226, allocations: 0.8457 MB / 0.5663 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/0.3227, allocations: 27.44 kB / 0.5664 GB, free: 12.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3227, allocations: 0 / 0.5664 GB, free: 12.02 MB / 414.1 MB Notification: Performance of Templates: time 0.008487/0.3312, allocations: 5.769 MB / 0.572 GB, free: 6.262 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.91069898288697] Failed to read output from testmodel.py, exit status != 0: 0.33962923497892916 0.35335141099999995 0.05067576 Calling exit ...