Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.0009241/0.0009241, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001007/0.001007, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9461/0.9461, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.00166/0.00166, allocations: 234 kB / 261.3 MB, free: 12.64 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.7168/0.7168, allocations: 138.4 MB / 456.3 MB, free: 30.04 MB / 410.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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.5564 GB, free: 15.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.599e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.005472/0.005488, allocations: 6.53 MB / 0.5627 GB, free: 9.301 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.008657, allocations: 2.212 MB / 0.5649 GB, free: 7.082 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003611/0.009018, allocations: 51.62 kB / 0.5649 GB, free: 7.031 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.009561, allocations: 262.2 kB / 0.5652 GB, free: 6.773 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008113/0.01037, allocations: 0.7071 MB / 0.5659 GB, free: 6.062 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00081/0.01118, allocations: 0.659 MB / 0.5665 GB, free: 5.402 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001949/0.01313, allocations: 3.007 MB / 0.5695 GB, free: 2.391 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.01453, allocations: 1.427 MB / 0.5709 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.01571, allocations: 1.719 MB / 0.5725 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.01694, allocations: 1.633 MB / 0.5741 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.01713, allocations: 236 kB / 0.5744 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.01753, allocations: 335.7 kB / 0.5747 GB, free: 13 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006278/0.01815, allocations: 1.165 MB / 0.5758 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005414/0.0187, allocations: 0.7875 MB / 0.5766 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.02028, allocations: 2.131 MB / 0.5787 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.02029, allocations: 4 kB / 0.5787 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.82e-07/0.02029, allocations: 0 / 0.5787 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.0203, allocations: 4 kB / 0.5787 GB, free: 8.898 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00209/0.02239, allocations: 2.264 MB / 0.5809 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.02242, allocations: 12.69 kB / 0.5809 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004065/0.02649, allocations: 1.291 MB / 0.5822 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009787/0.02746, allocations: 1.034 MB / 0.5832 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/0.02752, allocations: 115.4 kB / 0.5833 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.02772, allocations: 148.3 kB / 0.5834 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.02957, allocations: 1.662 MB / 0.585 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.0296, allocations: 4.125 kB / 0.585 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.02974, allocations: 68.34 kB / 0.5851 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/0.02989, allocations: 207.1 kB / 0.5853 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009985/0.03089, allocations: 0.662 MB / 0.586 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006973/0.03786, allocations: 8.272 MB / 0.594 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/0.03856, allocations: 0.5531 MB / 0.5946 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.03903, allocations: 398.1 kB / 0.5949 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.394e-05/0.03909, allocations: 24.94 kB / 0.595 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.03912, allocations: 46.39 kB / 0.595 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=104): time 2.094e-06/0.03912, allocations: 0 / 0.595 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of matching and sorting (n=183): time 0.01627/0.05539, allocations: 8.216 MB / 0.603 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.05543, allocations: 81.33 kB / 0.6031 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005799/0.05601, allocations: 0.8656 MB / 0.604 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.05611, allocations: 57.7 kB / 0.604 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.05648, allocations: 0.8743 MB / 0.6049 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003903/0.05687, allocations: 0.6779 MB / 0.6055 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007236/0.05759, allocations: 361 kB / 0.6059 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.05769, allocations: 480.8 kB / 0.6063 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.05822, allocations: 355.7 kB / 0.6067 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007677/0.05898, allocations: 0.86 MB / 0.6075 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.06034, allocations: 1.331 MB / 0.6088 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.06035, allocations: 4 kB / 0.6088 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007919/0.06827, allocations: 4.126 MB / 0.6128 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.06829, allocations: 8 kB / 0.6129 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.0683, allocations: 15.98 kB / 0.6129 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00775/0.07605, allocations: 3.23 MB / 0.616 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.07642, allocations: 187.7 kB / 0.6162 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01949/0.09591, allocations: 17.84 MB / 0.6336 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/0.09662, allocations: 44 kB / 0.6337 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.09672, allocations: 55.94 kB / 0.6337 GB, free: 15.15 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006804/0.0974, allocations: 260.2 kB / 0.634 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.09767, allocations: 207.1 kB / 0.6342 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007559/0.1052, allocations: 4.146 MB / 0.6382 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.1052, allocations: 20 kB / 0.6382 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.1053, allocations: 28 kB / 0.6383 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.1053, allocations: 11.95 kB / 0.6383 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.1153, allocations: 6.128 MB / 0.6443 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1153, allocations: 4 kB / 0.6443 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.1155, allocations: 107.8 kB / 0.6444 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00772/0.1232, allocations: 3.116 MB / 0.6474 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.1233, allocations: 39.98 kB / 0.6474 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2035/0.3268, allocations: 16.49 MB / 0.6635 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3268, allocations: 5.094 kB / 0.6636 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007938/0.3348, allocations: 4.113 MB / 0.6676 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.3353, allocations: 426.5 kB / 0.668 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.3355, allocations: 38.44 kB / 0.668 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.336, allocations: 33.91 kB / 0.668 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004793/0.3365, allocations: 172.7 kB / 0.6682 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.283e-05/0.3366, allocations: 34.84 kB / 0.6682 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000324/0.3369, allocations: 0.4994 MB / 0.6687 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3369, allocations: 0 / 0.6687 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001949/0.3389, allocations: 1.007 MB / 0.6697 GB, free: 117.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000213/0.3391, allocations: 136.3 kB / 0.6698 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003407/0.3425, allocations: 3.03 MB / 0.6728 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.3425, allocations: 3.469 kB / 0.6728 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003093/0.3456, allocations: 2.579 MB / 0.6753 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/0.3464, allocations: 238.5 kB / 0.6756 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/0.3513, allocations: 3.996 MB / 0.6795 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007265/0.3521, allocations: 0.6397 MB / 0.6801 GB, free: 113 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003085/0.3524, allocations: 112.3 kB / 0.6802 GB, free: 113 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.3527, allocations: 244 kB / 0.6804 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of SimCode: time 7.71e-07/0.3527, allocations: 3.375 kB / 0.6804 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.05213/0.4048, allocations: 68.16 MB / 0.747 GB, free: 58.83 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.595068926922977]