Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001874/0.001874, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002237/0.002237, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.556/1.556, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2186/0.2186, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [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.002231/0.002231, allocations: 75.89 kB / 493 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3891, allocations: 62.46 MB / 0.5424 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007859/0.3969, allocations: 5.31 MB / 0.5476 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.3999, allocations: 1.265 MB / 0.5488 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003795/0.4003, allocations: 26.78 kB / 0.5489 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005985/0.4009, allocations: 133.9 kB / 0.549 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.4021, allocations: 377.8 kB / 0.5494 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.4024, allocations: 138.6 kB / 0.5495 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.4034, allocations: 0.7551 MB / 0.5502 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.4037, allocations: 127.8 kB / 0.5503 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006496/0.4044, allocations: 352.6 kB / 0.5507 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006556/0.405, allocations: 382.6 kB / 0.551 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.4051, allocations: 36.22 kB / 0.5511 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.4052, allocations: 40.66 kB / 0.5511 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.4054, allocations: 198.9 kB / 0.5513 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.4057, allocations: 202.5 kB / 0.5515 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007649/0.4065, allocations: 0.5375 MB / 0.552 GB, free: 9.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4065, allocations: 3.938 kB / 0.552 GB, free: 9.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4065, allocations: 3.938 kB / 0.552 GB, free: 9.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.4065, allocations: 1.188 kB / 0.552 GB, free: 9.312 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001656/0.4082, allocations: 0.7395 MB / 0.5528 GB, free: 8.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4082, allocations: 13.2 kB / 0.5528 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.4083, allocations: 58.69 kB / 0.5528 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009619/0.4093, allocations: 418.7 kB / 0.5532 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.4093, allocations: 33.19 kB / 0.5533 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.472e-05/0.4094, allocations: 37.12 kB / 0.5533 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.4104, allocations: 0.4971 MB / 0.5538 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.4105, allocations: 5.188 kB / 0.5538 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.4105, allocations: 16.59 kB / 0.5538 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.1e-05/0.4106, allocations: 21.61 kB / 0.5538 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006735/0.4113, allocations: 362.4 kB / 0.5542 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.4141, allocations: 1.858 MB / 0.556 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.4145, allocations: 230.9 kB / 0.5562 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.4148, allocations: 121.7 kB / 0.5563 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.4148, allocations: 0 / 0.5563 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.4148, allocations: 34.56 kB / 0.5563 GB, free: 5.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.4148, allocations: 0 / 0.5563 GB, free: 5.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001397/0.4162, allocations: 0.6917 MB / 0.557 GB, free: 4.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.4163, allocations: 81.11 kB / 0.5571 GB, free: 4.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.4167, allocations: 381.4 kB / 0.5575 GB, free: 4.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.4168, allocations: 29.7 kB / 0.5575 GB, free: 4.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.4171, allocations: 304.1 kB / 0.5578 GB, free: 4.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.507e-05/0.4171, allocations: 87.27 kB / 0.5579 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.4173, allocations: 82.08 kB / 0.5579 GB, free: 3.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4175, allocations: 350.7 kB / 0.5583 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.4176, allocations: 84.83 kB / 0.5584 GB, free: 3.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.4179, allocations: 273.2 kB / 0.5586 GB, free: 3.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.4184, allocations: 411.3 kB / 0.559 GB, free: 2.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4184, allocations: 0 / 0.559 GB, free: 2.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007282/0.4192, allocations: 460.1 kB / 0.5595 GB, free: 2.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.4192, allocations: 8 kB / 0.5595 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.4192, allocations: 8 kB / 0.5595 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.4194, allocations: 52.83 kB / 0.5595 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.4197, allocations: 83.83 kB / 0.5596 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.4211, allocations: 1.484 MB / 0.561 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.4213, allocations: 12 kB / 0.5611 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.4213, allocations: 20 kB / 0.5611 GB, free: 448 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002465/0.4216, allocations: 205.6 kB / 0.5613 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.4217, allocations: 43.66 kB / 0.5613 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.422, allocations: 241.1 kB / 0.5615 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4221, allocations: 7.938 kB / 0.5616 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.4221, allocations: 0 / 0.5616 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4221, allocations: 3.938 kB / 0.5616 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/0.4229, allocations: 0.5898 MB / 0.5621 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4229, allocations: 0 / 0.5621 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.4232, allocations: 47.91 kB / 0.5622 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4232, allocations: 3.984 kB / 0.5622 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.4232, allocations: 11.94 kB / 0.5622 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4232, allocations: 4 kB / 0.5622 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4232, allocations: 0 / 0.5622 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.4237, allocations: 425.3 kB / 0.5626 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4238, allocations: 51.86 kB / 0.5627 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.4238, allocations: 7.938 kB / 0.5627 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.424, allocations: 11.98 kB / 0.5627 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.424, allocations: 15.97 kB / 0.5627 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.424, allocations: 12.12 kB / 0.5627 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002563/0.4243, allocations: 247.2 kB / 0.5629 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4243, allocations: 0 / 0.5629 GB, free: 14.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.4247, allocations: 92 kB / 0.563 GB, free: 14.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000113/0.4248, allocations: 95.19 kB / 0.5631 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006354/0.4255, allocations: 375.8 kB / 0.5635 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4255, allocations: 0 / 0.5635 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.4256, allocations: 83.89 kB / 0.5635 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.4262, allocations: 98.8 kB / 0.5636 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.4276, allocations: 0.8628 MB / 0.5645 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.4278, allocations: 254 kB / 0.5647 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.428, allocations: 84.11 kB / 0.5648 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.4281, allocations: 31.44 kB / 0.5648 GB, free: 12.42 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4281, allocations: 0 / 0.5648 GB, free: 12.42 MB / 414.1 MB Notification: Performance of Templates: time 0.009201/0.4373, allocations: 4.181 MB / 0.5689 GB, free: 8.324 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.42039749212563] Failed to read output from testmodel.py, exit status != 0: 0.4464834798127413 0.46095860400000005 0.051242944000000006 Calling exit ...