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.001303/0.001303, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001448/0.001448, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.384/1.384, allocations: 230.6 MB / 258.3 MB, free: 7.961 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.1798/0.1798, allocations: 38.52 MB / 353.2 MB, free: 12.5 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.002045/0.002045, allocations: 67.91 kB / 493.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3061, allocations: 62.46 MB / 0.5432 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007292/0.3134, allocations: 5.677 MB / 0.5488 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.3158, allocations: 1.365 MB / 0.5501 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.3161, allocations: 26.69 kB / 0.5501 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004828/0.3166, allocations: 135.9 kB / 0.5503 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008929/0.3175, allocations: 381.5 kB / 0.5506 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.3178, allocations: 138.1 kB / 0.5507 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008462/0.3186, allocations: 0.7517 MB / 0.5515 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.3189, allocations: 132.5 kB / 0.5516 GB, free: 10 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.3194, allocations: 356.2 kB / 0.5519 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.3201, allocations: 390.6 kB / 0.5523 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.897e-05/0.3201, allocations: 35.78 kB / 0.5524 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.675e-05/0.3202, allocations: 37.28 kB / 0.5524 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.3204, allocations: 206.6 kB / 0.5526 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.3207, allocations: 258.5 kB / 0.5528 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006247/0.3213, allocations: 0.5275 MB / 0.5533 GB, free: 8.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3213, allocations: 0 / 0.5533 GB, free: 8.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3213, allocations: 0.875 kB / 0.5534 GB, free: 8.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3213, allocations: 0 / 0.5534 GB, free: 8.922 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.001371/0.3227, allocations: 0.7399 MB / 0.5541 GB, free: 8.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3227, allocations: 13.64 kB / 0.5541 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.3229, allocations: 57.81 kB / 0.5541 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008401/0.3237, allocations: 414.8 kB / 0.5545 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.3237, allocations: 32.97 kB / 0.5546 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/0.3238, allocations: 40.98 kB / 0.5546 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007933/0.3246, allocations: 0.4951 MB / 0.5551 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3246, allocations: 5.188 kB / 0.5551 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.3247, allocations: 15.56 kB / 0.5551 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-05/0.3247, allocations: 22.91 kB / 0.5551 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005846/0.3253, allocations: 370.8 kB / 0.5555 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.3279, allocations: 2.042 MB / 0.5575 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.3284, allocations: 229.3 kB / 0.5577 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.3286, allocations: 121.7 kB / 0.5578 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3286, allocations: 0 / 0.5578 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3287, allocations: 34.56 kB / 0.5578 GB, free: 5.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.132e-06/0.3287, allocations: 0 / 0.5578 GB, free: 5.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001235/0.3299, allocations: 0.6977 MB / 0.5585 GB, free: 4.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.33, allocations: 81.05 kB / 0.5586 GB, free: 4.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.3304, allocations: 385.5 kB / 0.559 GB, free: 3.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.3304, allocations: 33.7 kB / 0.559 GB, free: 3.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.3306, allocations: 291.8 kB / 0.5593 GB, free: 3.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.334e-05/0.3307, allocations: 87.31 kB / 0.5594 GB, free: 3.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3308, allocations: 74.09 kB / 0.5594 GB, free: 3.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.331, allocations: 354.8 kB / 0.5598 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.3311, allocations: 84.83 kB / 0.5599 GB, free: 3.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.3314, allocations: 277.2 kB / 0.5601 GB, free: 2.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.3319, allocations: 411.2 kB / 0.5605 GB, free: 2.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3319, allocations: 0 / 0.5605 GB, free: 2.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007335/0.3326, allocations: 447.7 kB / 0.5609 GB, free: 1.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3326, allocations: 8 kB / 0.5609 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.3327, allocations: 8.781 kB / 0.561 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.3329, allocations: 56.83 kB / 0.561 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.3331, allocations: 83.83 kB / 0.5611 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.3346, allocations: 1.511 MB / 0.5626 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.3349, allocations: 23.92 kB / 0.5626 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.3349, allocations: 27.94 kB / 0.5626 GB, free: 15.89 MB / 414.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.000242/0.3351, allocations: 201.6 kB / 0.5628 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/0.3352, allocations: 47.66 kB / 0.5629 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.3356, allocations: 237.2 kB / 0.5631 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3356, allocations: 4 kB / 0.5631 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.3356, allocations: 0 / 0.5631 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3356, allocations: 3.984 kB / 0.5631 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.3366, allocations: 0.6663 MB / 0.5637 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3366, allocations: 4 kB / 0.5637 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.3368, allocations: 43.98 kB / 0.5638 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3368, allocations: 4.062 kB / 0.5638 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.3368, allocations: 7.984 kB / 0.5638 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3368, allocations: 0 / 0.5638 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3368, allocations: 7.938 kB / 0.5638 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.3374, allocations: 429.5 kB / 0.5642 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3375, allocations: 47.73 kB / 0.5643 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.3375, allocations: 4 kB / 0.5643 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3376, allocations: 11.98 kB / 0.5643 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.3377, allocations: 15.97 kB / 0.5643 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3377, allocations: 4 kB / 0.5643 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002767/0.338, allocations: 259.2 kB / 0.5645 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.338, allocations: 3.938 kB / 0.5645 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004634/0.3384, allocations: 84 kB / 0.5646 GB, free: 13.74 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.0001207/0.3386, allocations: 111.2 kB / 0.5647 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006928/0.3392, allocations: 367.6 kB / 0.5651 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3392, allocations: 4.25 kB / 0.5651 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3394, allocations: 83.84 kB / 0.5652 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.34, allocations: 95.89 kB / 0.5653 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.3415, allocations: 0.9038 MB / 0.5661 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.342, allocations: 0.8584 MB / 0.567 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.3421, allocations: 31.44 kB / 0.567 GB, free: 11.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3421, allocations: 0 / 0.567 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Templates: time 0.009244/0.3513, allocations: 6.015 MB / 0.5729 GB, free: 5.207 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: 8.100694531109184] Failed to read output from testmodel.py, exit status != 0: 0.3601528441067785 0.374264797 0.049925001000000004 Calling exit ...