Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.001259/0.001259, 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.001422/0.001422, 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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.2059/0.2059, allocations: 38.54 MB / 353.2 MB, free: 12.58 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.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") [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.001918/0.001918, allocations: 67.89 kB / 493.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2813, allocations: 62.46 MB / 0.5432 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008327/0.2897, allocations: 6.724 MB / 0.5498 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004329/0.294, allocations: 2.505 MB / 0.5522 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.2943, allocations: 31.59 kB / 0.5523 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.296, allocations: 0.6306 MB / 0.5529 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.2974, allocations: 0.6936 MB / 0.5536 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.2985, allocations: 461.5 kB / 0.554 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.3, allocations: 1.363 MB / 0.5553 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006193/0.3006, allocations: 424.7 kB / 0.5557 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008985/0.3015, allocations: 0.5828 MB / 0.5563 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.3027, allocations: 0.8616 MB / 0.5571 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.3028, allocations: 74.41 kB / 0.5572 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006013/0.3034, allocations: 322.2 kB / 0.5575 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005217/0.3039, allocations: 0.5298 MB / 0.558 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005382/0.3045, allocations: 0.5247 MB / 0.5586 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.3059, allocations: 1.346 MB / 0.5599 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3059, allocations: 0 / 0.5599 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3059, allocations: 0 / 0.5599 GB, free: 3.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.306, allocations: 0 / 0.5599 GB, free: 3.402 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002254/0.3082, allocations: 1.283 MB / 0.5611 GB, free: 2.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.3082, allocations: 15.98 kB / 0.5611 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.3095, allocations: 271.9 kB / 0.5614 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.3108, allocations: 0.6379 MB / 0.562 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.3108, allocations: 62.38 kB / 0.5621 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.311, allocations: 104 kB / 0.5622 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.313, allocations: 1.384 MB / 0.5635 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.3131, allocations: 4 kB / 0.5635 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.481e-05/0.3132, allocations: 39.98 kB / 0.5636 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002599/0.3134, allocations: 113.9 kB / 0.5637 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.3151, allocations: 1.1 MB / 0.5648 GB, free: 14.22 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007044/0.3222, allocations: 5.868 MB / 0.5705 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3232, allocations: 0.5866 MB / 0.5711 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.3237, allocations: 291.1 kB / 0.5713 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.3237, allocations: 4.5 kB / 0.5713 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006712/0.3244, allocations: 480.8 kB / 0.5718 GB, free: 6.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 1.984e-06/0.3244, allocations: 4 kB / 0.5718 GB, free: 6.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003389/0.3278, allocations: 2.099 MB / 0.5739 GB, free: 4.508 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.3279, allocations: 170.9 kB / 0.574 GB, free: 4.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007447/0.3286, allocations: 0.6329 MB / 0.5746 GB, free: 3.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.3287, allocations: 41.64 kB / 0.5747 GB, free: 3.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/0.3291, allocations: 0.5501 MB / 0.5752 GB, free: 3.062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.3293, allocations: 246.2 kB / 0.5754 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/0.3296, allocations: 210.8 kB / 0.5756 GB, free: 2.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.3298, allocations: 390.7 kB / 0.576 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/0.3304, allocations: 338.4 kB / 0.5763 GB, free: 1.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008875/0.3312, allocations: 0.7664 MB / 0.5771 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.3328, allocations: 1.257 MB / 0.5783 GB, free: 15.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.3328, allocations: 4 kB / 0.5783 GB, free: 15.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00247/0.3353, allocations: 1.43 MB / 0.5797 GB, free: 13.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.3353, allocations: 45.62 kB / 0.5798 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001481/0.3368, allocations: 0.776 MB / 0.5805 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007211/0.3375, allocations: 253.6 kB / 0.5808 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.3382, allocations: 215.6 kB / 0.581 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004766/0.343, allocations: 4.183 MB / 0.5851 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.3435, allocations: 51.97 kB / 0.5851 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.441e-05/0.3436, allocations: 63.97 kB / 0.5852 GB, free: 8.172 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005313/0.3441, allocations: 395 kB / 0.5855 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3442, allocations: 87.55 kB / 0.5856 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.3457, allocations: 0.8539 MB / 0.5865 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.3457, allocations: 4 kB / 0.5865 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3457, allocations: 4 kB / 0.5865 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3457, allocations: 3.984 kB / 0.5865 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.3484, allocations: 1.737 MB / 0.5882 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.3484, allocations: 4.047 kB / 0.5882 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/0.3491, allocations: 151.8 kB / 0.5883 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3491, allocations: 4 kB / 0.5883 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.3492, allocations: 28.08 kB / 0.5883 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.3492, allocations: 8 kB / 0.5884 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3492, allocations: 4 kB / 0.5884 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.351, allocations: 1.312 MB / 0.5896 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.3513, allocations: 127.4 kB / 0.5898 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.3514, allocations: 16 kB / 0.5898 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.3517, allocations: 31.97 kB / 0.5898 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/0.3518, allocations: 52.3 kB / 0.5899 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.3519, allocations: 39.95 kB / 0.5899 GB, free: 3.176 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004954/0.3524, allocations: 431 kB / 0.5903 GB, free: 2.758 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3524, allocations: 0 / 0.5903 GB, free: 2.758 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008097/0.3532, allocations: 232 kB / 0.5905 GB, free: 2.531 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001663/0.3533, allocations: 119.1 kB / 0.5906 GB, free: 2.402 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.3552, allocations: 1.207 MB / 0.5918 GB, free: 1.156 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3552, allocations: 0 / 0.5918 GB, free: 1.156 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.3558, allocations: 414.1 kB / 0.5922 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/0.3565, allocations: 134.8 kB / 0.5923 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.3597, allocations: 2.097 MB / 0.5944 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000851/0.3606, allocations: 1.107 MB / 0.5955 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.3608, allocations: 71.42 kB / 0.5955 GB, free: 13.27 MB / 446.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3608, allocations: 4 kB / 0.5955 GB, free: 13.26 MB / 446.1 MB Notification: Performance of Templates: time 0.01925/0.38, allocations: 14.16 MB / 0.6094 GB, free: 15.1 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.23439935198985] Failed to read output from testmodel.py, exit status != 0: 0.38900109101086855 0.40295897699999994 0.09398487200000001 Calling exit ...