Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001351/0.001351, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001436/0.001436, allocations: 213.9 kB / 22.25 MB, free: 4.855 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.002647/0.002647, allocations: 303.8 kB / 312.7 MB, free: 2.602 MB / 238.1 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 1.226/1.226, allocations: 180.6 MB / 0.5369 GB, free: 14.46 MB / 382.1 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003008/0.003008, allocations: 104.5 kB / 0.74 GB, free: 27.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.156, allocations: 95.38 MB / 0.8331 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03349/0.1894, allocations: 25.57 MB / 0.8581 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01461/0.2041, allocations: 8.087 MB / 0.866 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.206, allocations: 154.8 kB / 0.8662 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007637/0.2136, allocations: 2.775 MB / 0.8689 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.2181, allocations: 1.668 MB / 0.8705 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004234/0.2224, allocations: 1.682 MB / 0.8721 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007665/0.23, allocations: 6.131 MB / 0.8781 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006152/0.2362, allocations: 3.745 MB / 0.8818 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004396/0.2406, allocations: 2.672 MB / 0.8844 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004946/0.2455, allocations: 2.83 MB / 0.8872 GB, free: 244 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00129/0.2468, allocations: 0.5118 MB / 0.8877 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.2498, allocations: 1.197 MB / 0.8888 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002937/0.2527, allocations: 2.104 MB / 0.8909 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003815/0.2565, allocations: 1.926 MB / 0.8928 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009037/0.2656, allocations: 8.122 MB / 0.9007 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2656, allocations: 0 / 0.9007 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2656, allocations: 0 / 0.9007 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001004/0.2657, allocations: 0 / 0.9007 GB, free: 2.336 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007749/0.2734, allocations: 4.257 MB / 0.9049 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2734, allocations: 8.75 kB / 0.9049 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/0.2776, allocations: 0.8257 MB / 0.9057 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005076/0.2826, allocations: 2.53 MB / 0.9081 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.2829, allocations: 267.7 kB / 0.9084 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007331/0.2836, allocations: 376.6 kB / 0.9088 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009998/0.2936, allocations: 6.448 MB / 0.915 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.389e-05/0.2937, allocations: 19.83 kB / 0.9151 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003796/0.2941, allocations: 159.9 kB / 0.9152 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006008/0.2947, allocations: 278.9 kB / 0.9155 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007609/0.3023, allocations: 4.52 MB / 0.9199 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02316/0.3254, allocations: 17.41 MB / 0.9369 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.3271, allocations: 1.051 MB / 0.9379 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.3285, allocations: 0.9679 MB / 0.9389 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.207e-05/0.3286, allocations: 9 kB / 0.9389 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.3287, allocations: 47.56 kB / 0.9389 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 3.778e-06/0.3287, allocations: 0 / 0.9389 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=131): time 0.02248/0.3511, allocations: 9.082 MB / 0.9478 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.3512, allocations: 68.72 kB / 0.9479 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.3532, allocations: 1.397 MB / 0.9492 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.3533, allocations: 49.7 kB / 0.9493 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.3546, allocations: 1.726 MB / 0.951 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004563/0.3551, allocations: 495.8 kB / 0.9514 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005446/0.3556, allocations: 327.4 kB / 0.9517 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3558, allocations: 309.1 kB / 0.952 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.3573, allocations: 0.9135 MB / 0.9529 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/0.3593, allocations: 1.463 MB / 0.9544 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003686/0.363, allocations: 2.55 MB / 0.9568 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/0.363, allocations: 7.938 kB / 0.9569 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006461/0.3695, allocations: 3.26 MB / 0.96 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.3695, allocations: 15.94 kB / 0.9601 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.3695, allocations: 16 kB / 0.9601 GB, free: 3.891 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002461/0.372, allocations: 0.7493 MB / 0.9608 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.3736, allocations: 383.4 kB / 0.9612 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/0.3923, allocations: 15.83 MB / 0.9766 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.3938, allocations: 95.91 kB / 0.9767 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.394, allocations: 76 kB / 0.9768 GB, free: 1.824 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002176/0.3962, allocations: 1.318 MB / 0.9781 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.3965, allocations: 198.8 kB / 0.9783 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005398/0.4019, allocations: 2.757 MB / 0.981 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.4019, allocations: 12 kB / 0.981 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.402, allocations: 8 kB / 0.981 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.402, allocations: 3.984 kB / 0.981 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.4124, allocations: 5.337 MB / 0.9862 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.4124, allocations: 8.594 kB / 0.9862 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.4137, allocations: 231.7 kB / 0.9864 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002206/0.4159, allocations: 0.6671 MB / 0.9871 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.874e-05/0.416, allocations: 31.98 kB / 0.9871 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.358/0.774, allocations: 15.56 MB / 1.002 GB, free: 138.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.774, allocations: 8.312 kB / 1.002 GB, free: 138.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0057/0.7797, allocations: 3.984 MB / 1.006 GB, free: 137.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009794/0.7807, allocations: 381.8 kB / 1.007 GB, free: 137.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.7809, allocations: 31.14 kB / 1.007 GB, free: 137.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008994/0.7818, allocations: 80.69 kB / 1.007 GB, free: 137.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/0.7821, allocations: 126.2 kB / 1.007 GB, free: 137.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.931e-05/0.7822, allocations: 40.61 kB / 1.007 GB, free: 137.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001045/0.7832, allocations: 0.9022 MB / 1.008 GB, free: 137 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7832, allocations: 0 / 1.008 GB, free: 137 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002038/0.7852, allocations: 0.6822 MB / 1.008 GB, free: 137 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002171/0.7855, allocations: 148.8 kB / 1.009 GB, free: 136.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005228/0.7907, allocations: 3.384 MB / 1.012 GB, free: 135 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.7907, allocations: 1.562 kB / 1.012 GB, free: 135 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00318/0.7939, allocations: 2.243 MB / 1.014 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.7966, allocations: 0.6422 MB / 1.015 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009332/0.806, allocations: 6.648 MB / 1.021 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/0.8081, allocations: 2.113 MB / 1.023 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001299/0.8094, allocations: 477.3 kB / 1.024 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.8097, allocations: 114.2 kB / 1.024 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/0.8097, allocations: 0 / 1.024 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.04681/0.8565, allocations: 37.85 MB / 1.061 GB, free: 99.16 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.67403413914144] Failed to read output from testmodel.py, exit status != 0: 0.8631398677825928 0.872644259 0.604847689 Calling exit ...