Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0009177/0.0009177, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001505/0.001505, allocations: 173.3 kB / 23.5 MB, free: 1.059 MB / 18.57 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 0.9474/0.9474, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001664/0.001664, allocations: 240.4 kB / 260.5 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6831/0.6831, allocations: 138.4 MB / 455.4 MB, free: 1.492 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.5551 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.195e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02649/0.0265, allocations: 35.59 MB / 0.5898 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01489/0.0414, allocations: 10.17 MB / 0.5997 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.0434, allocations: 186.6 kB / 0.5999 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.2031/0.2465, allocations: 3.924 MB / 0.6038 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.2513, allocations: 2.21 MB / 0.6059 GB, free: 67.61 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.2547, allocations: 1.991 MB / 0.6079 GB, free: 67.55 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006574/0.2612, allocations: 8.122 MB / 0.6158 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006331/0.2676, allocations: 5.264 MB / 0.6209 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006013/0.2736, allocations: 4.935 MB / 0.6258 GB, free: 63.45 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005425/0.279, allocations: 3.696 MB / 0.6294 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001332/0.2803, allocations: 0.6795 MB / 0.63 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.2827, allocations: 1.378 MB / 0.6314 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002135/0.2849, allocations: 2.845 MB / 0.6341 GB, free: 61.22 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002818/0.2877, allocations: 2.193 MB / 0.6363 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004777/0.2925, allocations: 5.722 MB / 0.6419 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2925, allocations: 0.625 kB / 0.6419 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2925, allocations: 2.812 kB / 0.6419 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.84e-05/0.2925, allocations: 4.562 kB / 0.6419 GB, free: 58.11 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.005182/0.2977, allocations: 5.719 MB / 0.6475 GB, free: 54.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2977, allocations: 8.156 kB / 0.6475 GB, free: 54.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003126/0.3009, allocations: 1.514 MB / 0.649 GB, free: 54.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.3036, allocations: 3.104 MB / 0.652 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.3037, allocations: 354.7 kB / 0.6523 GB, free: 52.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000442/0.3042, allocations: 483.8 kB / 0.6528 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00481/0.309, allocations: 5.396 MB / 0.6581 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.669e-05/0.3091, allocations: 18.91 kB / 0.6581 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002966/0.3094, allocations: 213.8 kB / 0.6583 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002504/0.3096, allocations: 373 kB / 0.6586 GB, free: 47.28 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002951/0.3126, allocations: 1.842 MB / 0.6604 GB, free: 45.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.3258, allocations: 26.24 MB / 0.6861 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.3271, allocations: 0.8993 MB / 0.6869 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006558/0.3277, allocations: 0.5986 MB / 0.6875 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-05/0.3278, allocations: 29.31 kB / 0.6875 GB, free: 17.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3278, allocations: 60.58 kB / 0.6876 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 3.326e-06/0.3278, allocations: 0 / 0.6876 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160): time 0.00556/0.3334, allocations: 3.887 MB / 0.6914 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.3334, allocations: 64.72 kB / 0.6915 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.3344, allocations: 1.585 MB / 0.693 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.758e-05/0.3345, allocations: 53.7 kB / 0.6931 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006149/0.3351, allocations: 2.246 MB / 0.6953 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.3353, allocations: 0.5923 MB / 0.6958 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.3357, allocations: 405.9 kB / 0.6962 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.98e-05/0.3357, allocations: 476.8 kB / 0.6967 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.3362, allocations: 380.2 kB / 0.697 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008148/0.337, allocations: 1.368 MB / 0.6984 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.3385, allocations: 1.918 MB / 0.7002 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3385, allocations: 12 kB / 0.7003 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002587/0.3411, allocations: 2.368 MB / 0.7026 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.3411, allocations: 20.25 kB / 0.7026 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.3411, allocations: 20 kB / 0.7026 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.3425, allocations: 0.7359 MB / 0.7033 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/0.3433, allocations: 430.8 kB / 0.7037 GB, free: 188 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.3539, allocations: 23.09 MB / 0.7263 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.3549, allocations: 127.2 kB / 0.7264 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.355, allocations: 95.98 kB / 0.7265 GB, free: 7.566 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009036/0.3559, allocations: 303.9 kB / 0.7268 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.3562, allocations: 294.5 kB / 0.7271 GB, free: 7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.3586, allocations: 1.715 MB / 0.7287 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.3587, allocations: 16 kB / 0.7288 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/0.3587, allocations: 12 kB / 0.7288 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.3587, allocations: 11.95 kB / 0.7288 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007924/0.3666, allocations: 5.026 MB / 0.7337 GB, free: 116 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3666, allocations: 4 kB / 0.7337 GB, free: 112 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006775/0.3673, allocations: 214 kB / 0.7339 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/0.3692, allocations: 0.7004 MB / 0.7346 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-05/0.3693, allocations: 32.5 kB / 0.7346 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/0.3823, allocations: 23.06 MB / 0.7571 GB, free: 6.73 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.3823, allocations: 11.19 kB / 0.7571 GB, free: 6.723 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.3855, allocations: 2.003 MB / 0.7591 GB, free: 4.602 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007971/0.3863, allocations: 430.2 kB / 0.7595 GB, free: 4.18 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.3865, allocations: 39.94 kB / 0.7595 GB, free: 4.141 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007374/0.3873, allocations: 91.88 kB / 0.7596 GB, free: 4.051 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003315/0.3876, allocations: 147.8 kB / 0.7598 GB, free: 3.914 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.25e-05/0.3877, allocations: 47.98 kB / 0.7598 GB, free: 3.867 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001022/0.3887, allocations: 0.8951 MB / 0.7607 GB, free: 2.953 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.3887, allocations: 0 / 0.7607 GB, free: 2.953 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002509/0.3912, allocations: 0.9062 MB / 0.7616 GB, free: 2.047 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002169/0.3914, allocations: 153.1 kB / 0.7617 GB, free: 1.898 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003914/0.3953, allocations: 3.724 MB / 0.7654 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3954, allocations: 4 kB / 0.7654 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002647/0.398, allocations: 2.999 MB / 0.7683 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.4002, allocations: 0.7721 MB / 0.7691 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00949/0.4097, allocations: 7.003 MB / 0.7759 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.4109, allocations: 1.169 MB / 0.777 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001049/0.4119, allocations: 444.5 kB / 0.7775 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.4123, allocations: 136.5 kB / 0.7776 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of SimCode: time 9.31e-07/0.4123, allocations: 0 / 0.7776 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of Templates: time 0.05017/0.4624, allocations: 42.76 MB / 0.8193 GB, free: 7.445 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.804546273080632]