Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001385/0.001385, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001592/0.001592, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.1862/0.1862, allocations: 38.56 MB / 353.2 MB, free: 12.31 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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") [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.002111/0.002111, allocations: 75 kB / 493.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3159, allocations: 62.46 MB / 0.5432 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005091/0.321, allocations: 3.428 MB / 0.5465 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.3233, allocations: 1.37 MB / 0.5478 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.3235, allocations: 9.625 kB / 0.5478 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008735/0.3243, allocations: 251 kB / 0.5481 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006937/0.325, allocations: 282.7 kB / 0.5484 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.3253, allocations: 114.9 kB / 0.5485 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000453/0.3258, allocations: 332.6 kB / 0.5488 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.3261, allocations: 118.9 kB / 0.5489 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.3264, allocations: 166.6 kB / 0.5491 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.3267, allocations: 162.2 kB / 0.5492 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.3268, allocations: 14.03 kB / 0.5492 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.3272, allocations: 260.8 kB / 0.5495 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.3274, allocations: 102 kB / 0.5496 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.3275, allocations: 85.47 kB / 0.5496 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.328, allocations: 342.7 kB / 0.55 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.328, allocations: 0 / 0.55 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.328, allocations: 0 / 0.55 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.328, allocations: 1.219 kB / 0.55 GB, free: 11.5 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007344/0.3287, allocations: 458.8 kB / 0.5504 GB, free: 11.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3287, allocations: 13.39 kB / 0.5504 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008276/0.3296, allocations: 90.56 kB / 0.5505 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.33, allocations: 208.6 kB / 0.5507 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.33, allocations: 11.22 kB / 0.5507 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.33, allocations: 24.48 kB / 0.5507 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.3305, allocations: 325.5 kB / 0.5511 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3305, allocations: 1.344 kB / 0.5511 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.3306, allocations: 5.25 kB / 0.5511 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/0.3306, allocations: 21.86 kB / 0.5511 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.331, allocations: 280.7 kB / 0.5514 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.3328, allocations: 1.165 MB / 0.5525 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.3333, allocations: 203 kB / 0.5527 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.998e-05/0.3334, allocations: 52 kB / 0.5527 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3335, allocations: 6.359 kB / 0.5527 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.3335, allocations: 40.75 kB / 0.5528 GB, free: 9.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.3335, allocations: 0 / 0.5528 GB, free: 9.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009701/0.3345, allocations: 362.6 kB / 0.5531 GB, free: 9.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.3345, allocations: 83.11 kB / 0.5532 GB, free: 8.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.3347, allocations: 187.4 kB / 0.5534 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3348, allocations: 34.98 kB / 0.5534 GB, free: 8.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3349, allocations: 167.3 kB / 0.5536 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.3349, allocations: 50.31 kB / 0.5536 GB, free: 8.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/0.335, allocations: 42.55 kB / 0.5537 GB, free: 8.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3352, allocations: 327.5 kB / 0.554 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.3353, allocations: 47.78 kB / 0.554 GB, free: 8.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.3354, allocations: 154.4 kB / 0.5542 GB, free: 8.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.3358, allocations: 230.1 kB / 0.5544 GB, free: 7.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3358, allocations: 8.969 kB / 0.5544 GB, free: 7.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004609/0.3362, allocations: 256.1 kB / 0.5546 GB, free: 7.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3362, allocations: 7.281 kB / 0.5546 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3362, allocations: 7.609 kB / 0.5547 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.3365, allocations: 41.86 kB / 0.5547 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3366, allocations: 40.45 kB / 0.5547 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.3379, allocations: 1.315 MB / 0.556 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.338, allocations: 12.42 kB / 0.556 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.338, allocations: 14.34 kB / 0.556 GB, free: 6.34 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 (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.3382, allocations: 161.7 kB / 0.5562 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.3383, allocations: 15.03 kB / 0.5562 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.3386, allocations: 188.8 kB / 0.5564 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3386, allocations: 2.25 kB / 0.5564 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3386, allocations: 1.062 kB / 0.5564 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3387, allocations: 0 / 0.5564 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008262/0.3395, allocations: 489.7 kB / 0.5569 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3395, allocations: 1.031 kB / 0.5569 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3396, allocations: 24.52 kB / 0.5569 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.3398, allocations: 32.23 kB / 0.5569 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.3398, allocations: 6.406 kB / 0.5569 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.3411, allocations: 1.307 MB / 0.5582 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3411, allocations: 4.031 kB / 0.5582 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.3415, allocations: 299.5 kB / 0.5585 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.3416, allocations: 11.91 kB / 0.5585 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.3416, allocations: 11.98 kB / 0.5585 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3417, allocations: 4 kB / 0.5585 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.3417, allocations: 15.98 kB / 0.5585 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3418, allocations: 8.094 kB / 0.5585 GB, free: 3.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.3419, allocations: 137.2 kB / 0.5587 GB, free: 3.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3419, allocations: 0 / 0.5587 GB, free: 3.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.3423, allocations: 48 kB / 0.5587 GB, free: 3.766 MB / 398.1 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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001207/0.3424, allocations: 107.1 kB / 0.5588 GB, free: 3.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004999/0.3429, allocations: 263.2 kB / 0.5591 GB, free: 3.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3429, allocations: 0 / 0.5591 GB, free: 3.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.3432, allocations: 178.5 kB / 0.5592 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3435, allocations: 31.97 kB / 0.5593 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008655/0.3444, allocations: 498.2 kB / 0.5597 GB, free: 2.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.3446, allocations: 147.9 kB / 0.5599 GB, free: 2.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.3446, allocations: 19.44 kB / 0.5599 GB, free: 2.449 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3446, allocations: 0 / 0.5599 GB, free: 2.449 MB / 398.1 MB Notification: Performance of Templates: time 0.005743/0.3504, allocations: 3.243 MB / 0.5631 GB, free: 15.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9680054797790945] Failed to read output from testmodel.py, exit status != 0: 0.35913705499842763 0.37296884599999997 0.041944836 Calling exit ...