Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.0009247/0.0009247, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009061/0.0009061, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.9966/0.9966, allocations: 177.1 MB / 203.4 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.002474/0.002474, allocations: 237 kB / 260.2 MB, free: 12.82 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.6752/0.6752, allocations: 138.4 MB / 455.2 MB, free: 1.488 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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.5551 GB, free: 472 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.631e-05, allocations: 10.25 kB / 0.5551 GB, free: 460 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.017/0.01702, allocations: 24.56 MB / 0.5791 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.02832, allocations: 7.541 MB / 0.5865 GB, free: 232 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002672/0.03099, allocations: 250.1 kB / 0.5867 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.03285, allocations: 1.027 MB / 0.5877 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00411/0.03696, allocations: 2.671 MB / 0.5903 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003944/0.04091, allocations: 2.629 MB / 0.5929 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.2092/0.2501, allocations: 11.52 MB / 0.6042 GB, free: 66.63 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007017/0.2571, allocations: 6.569 MB / 0.6106 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006334/0.2635, allocations: 6.869 MB / 0.6173 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007213/0.2707, allocations: 5.421 MB / 0.6226 GB, free: 65.94 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002885/0.2736, allocations: 0.9458 MB / 0.6235 GB, free: 65.94 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.2765, allocations: 1.049 MB / 0.6245 GB, free: 65.93 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003712/0.2802, allocations: 3.988 MB / 0.6284 GB, free: 64.85 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.005278/0.2855, allocations: 3.057 MB / 0.6314 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006457/0.2919, allocations: 7.432 MB / 0.6387 GB, free: 60.72 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2919, allocations: 3.844 kB / 0.6387 GB, free: 60.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2919, allocations: 3.531 kB / 0.6387 GB, free: 60.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001076/0.292, allocations: 0 / 0.6387 GB, free: 60.72 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.007321/0.2994, allocations: 7.873 MB / 0.6464 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2994, allocations: 11.84 kB / 0.6464 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004405/0.3038, allocations: 2.276 MB / 0.6486 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003828/0.3076, allocations: 4.259 MB / 0.6527 GB, free: 53.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.3078, allocations: 454 kB / 0.6532 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006567/0.3084, allocations: 0.6127 MB / 0.6538 GB, free: 53.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006491/0.3149, allocations: 6.973 MB / 0.6606 GB, free: 47.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.315, allocations: 19.64 kB / 0.6606 GB, free: 47.26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004119/0.3154, allocations: 268.7 kB / 0.6609 GB, free: 47.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001219/0.3167, allocations: 0.7807 MB / 0.6616 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004227/0.3209, allocations: 2.691 MB / 0.6643 GB, free: 43.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02287/0.3438, allocations: 31.8 MB / 0.6953 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.3463, allocations: 2.16 MB / 0.6974 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/0.3485, allocations: 1.536 MB / 0.6989 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.3486, allocations: 58.78 kB / 0.699 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.3487, allocations: 76.17 kB / 0.699 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=353): time 6.131e-06/0.3487, allocations: 0 / 0.699 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of matching and sorting (n=578): time 0.0761/0.4248, allocations: 34.52 MB / 0.7328 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.4248, allocations: 115.9 kB / 0.7329 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.427, allocations: 2.238 MB / 0.7351 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003324/0.4274, allocations: 121.7 kB / 0.7352 GB, free: 2.938 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.4287, allocations: 2.825 MB / 0.7379 GB, free: 104 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/0.4301, allocations: 2.09 MB / 0.74 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/0.4313, allocations: 0.9433 MB / 0.7409 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4314, allocations: 484.8 kB / 0.7414 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/0.4335, allocations: 1.37 MB / 0.7427 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00293/0.4365, allocations: 2.667 MB / 0.7453 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005873/0.4423, allocations: 4.686 MB / 0.7499 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.4424, allocations: 4 kB / 0.7499 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01821/0.4606, allocations: 9.386 MB / 0.759 GB, free: 9.918 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.4606, allocations: 12 kB / 0.7591 GB, free: 9.906 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.4606, allocations: 24 kB / 0.7591 GB, free: 9.883 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01814/0.4788, allocations: 7.417 MB / 0.7663 GB, free: 2.465 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.4802, allocations: 0.5239 MB / 0.7668 GB, free: 1.973 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04765/0.5278, allocations: 44.3 MB / 0.8101 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/0.5308, allocations: 275.7 kB / 0.8104 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003641/0.5312, allocations: 199.9 kB / 0.8105 GB, free: 4.004 MB / 0.6198 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001724/0.5329, allocations: 431.9 kB / 0.811 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008271/0.5337, allocations: 0.6455 MB / 0.8116 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/0.5495, allocations: 9.113 MB / 0.8205 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.5495, allocations: 59.94 kB / 0.8205 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001085/0.5496, allocations: 83.92 kB / 0.8206 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.5497, allocations: 27.89 kB / 0.8207 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02312/0.5728, allocations: 14.95 MB / 0.8353 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.5728, allocations: 8 kB / 0.8353 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008538/0.5736, allocations: 319.5 kB / 0.8356 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02008/0.5937, allocations: 7.028 MB / 0.8424 GB, free: 2.918 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003897/0.5941, allocations: 104 kB / 0.8425 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2654/0.8595, allocations: 44.05 MB / 0.8855 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.8595, allocations: 13.52 kB / 0.8856 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01993/0.8794, allocations: 10.24 MB / 0.8956 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/0.8815, allocations: 1.205 MB / 0.8967 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004681/0.8819, allocations: 109.8 kB / 0.8968 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/0.8835, allocations: 285.8 kB / 0.8971 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001674/0.8852, allocations: 0.5527 MB / 0.8977 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/0.8854, allocations: 149.3 kB / 0.8978 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001158/0.8866, allocations: 1.268 MB / 0.899 GB, free: 157.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.8866, allocations: 0 / 0.899 GB, free: 157.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005844/0.8924, allocations: 2.466 MB / 0.9014 GB, free: 157.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005051/0.8929, allocations: 239.6 kB / 0.9017 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01145/0.9044, allocations: 9.566 MB / 0.911 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.9044, allocations: 3.781 kB / 0.911 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.007885/0.9123, allocations: 7.501 MB / 0.9183 GB, free: 149.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/0.9154, allocations: 1.284 MB / 0.9196 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.9298, allocations: 12.91 MB / 0.9322 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/0.9319, allocations: 2.166 MB / 0.9343 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0013/0.9332, allocations: 0.6161 MB / 0.9349 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/0.9336, allocations: 188.1 kB / 0.9351 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.904e-06/0.9336, allocations: 0 / 0.9351 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.3347/1.268, allocations: 159.5 MB / 1.091 GB, free: 191.3 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.244618366938084]