Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001243/0.001243, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001814/0.001814, allocations: 177 kB / 24.08 MB, free: 416 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.9172/0.9172, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.706/1.706, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_sc.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_sc.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.275e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.01617/0.0162, allocations: 23.91 MB / 0.8109 GB, free: 4.172 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0116/0.0278, allocations: 7.537 MB / 0.8183 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003545/0.03134, allocations: 246.1 kB / 0.8185 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002685/0.03403, allocations: 1.029 MB / 0.8195 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005466/0.03949, allocations: 2.678 MB / 0.8222 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.04437, allocations: 2.629 MB / 0.8247 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01088/0.05525, allocations: 11.51 MB / 0.836 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008242/0.06349, allocations: 6.57 MB / 0.8424 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.07446, allocations: 6.873 MB / 0.8491 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007993/0.08245, allocations: 5.429 MB / 0.8544 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.002723/0.08518, allocations: 0.9453 MB / 0.8553 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.08915, allocations: 1.047 MB / 0.8563 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.005052/0.09421, allocations: 3.999 MB / 0.8602 GB, free: 1.492 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.006164/0.1004, allocations: 3.049 MB / 0.8632 GB, free: 14.43 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.009967/0.1103, allocations: 7.421 MB / 0.8705 GB, free: 6.996 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1103, allocations: 0 / 0.8705 GB, free: 6.996 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1103, allocations: 8 kB / 0.8705 GB, free: 6.988 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003723/0.1107, allocations: 0 / 0.8705 GB, free: 6.988 MB / 0.823 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.01051/0.1212, allocations: 7.768 MB / 0.8781 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1213, allocations: 8.031 kB / 0.8781 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004829/0.1261, allocations: 2.165 MB / 0.8802 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005949/0.1321, allocations: 3.927 MB / 0.884 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/0.1323, allocations: 452.5 kB / 0.8844 GB, free: 8.512 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/0.1333, allocations: 0.6135 MB / 0.885 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007432/0.1408, allocations: 6.495 MB / 0.8914 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.1409, allocations: 31.89 kB / 0.8914 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004532/0.1413, allocations: 268.3 kB / 0.8917 GB, free: 404 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00112/0.1425, allocations: 0.5974 MB / 0.8923 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/0.1459, allocations: 2.116 MB / 0.8943 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03426/0.1802, allocations: 29.87 MB / 0.9235 GB, free: 15 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/0.1829, allocations: 1.923 MB / 0.9254 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.1846, allocations: 1.326 MB / 0.9267 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.1848, allocations: 58.78 kB / 0.9267 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/0.1848, allocations: 80.11 kB / 0.9268 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=353): time 5.62e-06/0.1848, allocations: 4 kB / 0.9268 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=578): time 0.0656/0.2504, allocations: 29.56 MB / 0.9557 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.2505, allocations: 111.9 kB / 0.9558 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.2528, allocations: 2.194 MB / 0.9579 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007471/0.2535, allocations: 125.7 kB / 0.958 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.255, allocations: 2.833 MB / 0.9608 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002081/0.257, allocations: 2.103 MB / 0.9629 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/0.2589, allocations: 0.9662 MB / 0.9638 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.259, allocations: 480.8 kB / 0.9643 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.2605, allocations: 1.026 MB / 0.9653 GB, free: 3.719 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.2624, allocations: 2.346 MB / 0.9676 GB, free: 0.9336 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/0.2663, allocations: 4.027 MB / 0.9715 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.2663, allocations: 8 kB / 0.9715 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01452/0.2808, allocations: 8.275 MB / 0.9796 GB, free: 3.996 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.2809, allocations: 19.94 kB / 0.9796 GB, free: 3.977 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/0.2809, allocations: 24 kB / 0.9796 GB, free: 3.953 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02008/0.301, allocations: 7.035 MB / 0.9865 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.3027, allocations: 479.3 kB / 0.9869 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05103/0.3538, allocations: 41.71 MB / 1.028 GB, free: 1.398 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/0.3567, allocations: 136 kB / 1.028 GB, free: 1.266 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003941/0.3571, allocations: 144 kB / 1.028 GB, free: 1.125 MB / 0.9792 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.001513/0.3586, allocations: 439.8 kB / 1.028 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009132/0.3595, allocations: 0.6455 MB / 1.029 GB, free: 36 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.3732, allocations: 8.113 MB / 1.037 GB, free: 7.766 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-05/0.3732, allocations: 56 kB / 1.037 GB, free: 7.711 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001633/0.3734, allocations: 72 kB / 1.037 GB, free: 7.641 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-05/0.3734, allocations: 27.89 kB / 1.037 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/0.3951, allocations: 12.49 MB / 1.049 GB, free: 10.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-05/0.3951, allocations: 8.156 kB / 1.049 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/0.3961, allocations: 279.6 kB / 1.05 GB, free: 10.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01576/0.4118, allocations: 6.538 MB / 1.056 GB, free: 3.926 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007332/0.4126, allocations: 100 kB / 1.056 GB, free: 3.828 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3981/0.8107, allocations: 41.38 MB / 1.096 GB, free: 231.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.8107, allocations: 11.97 kB / 1.096 GB, free: 231.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.8255, allocations: 8.896 MB / 1.105 GB, free: 230.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/0.8272, allocations: 1.07 MB / 1.106 GB, free: 229.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003815/0.8276, allocations: 105.1 kB / 1.106 GB, free: 229.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.8288, allocations: 109.9 kB / 1.106 GB, free: 229.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001563/0.8304, allocations: 0.5466 MB / 1.107 GB, free: 229.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002293/0.8306, allocations: 108.4 kB / 1.107 GB, free: 229.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001031/0.8317, allocations: 1.165 MB / 1.108 GB, free: 229.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8317, allocations: 2.844 kB / 1.108 GB, free: 229.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005417/0.8371, allocations: 2.47 MB / 1.111 GB, free: 229.6 MB / 1.01 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.0004121/0.8375, allocations: 244.6 kB / 1.111 GB, free: 229.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009952/0.8475, allocations: 8.861 MB / 1.119 GB, free: 226.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.8475, allocations: 3.031 kB / 1.119 GB, free: 226.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.007414/0.8549, allocations: 7.092 MB / 1.126 GB, free: 224.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/0.8582, allocations: 1.276 MB / 1.128 GB, free: 223.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.8724, allocations: 12.81 MB / 1.14 GB, free: 217.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00202/0.8744, allocations: 2.156 MB / 1.142 GB, free: 216.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001162/0.8756, allocations: 449 kB / 1.143 GB, free: 216.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.877, allocations: 1.037 MB / 1.144 GB, free: 216.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.393e-06/0.877, allocations: 0 / 1.144 GB, free: 216.5 MB / 1.01 GB Notification: Performance of Templates: time 0.1392/1.016, allocations: 161.8 MB / 1.302 GB, free: 70.88 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.963332244195044]