Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00725/0.00725, allocations: 102.7 kB / 15.73 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001725, allocations: 190 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.1 MB / 222.5 MB, free: 4.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.693/1.693, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 74.08 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.255, allocations: 104.7 MB / 0.8281 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05091/0.306, allocations: 41.1 MB / 0.8682 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02842/0.3345, allocations: 15.08 MB / 0.8829 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005686/0.3402, allocations: 187.1 kB / 0.8831 GB, free: 7.68 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01214/0.3524, allocations: 4.469 MB / 0.8875 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.3629, allocations: 2.923 MB / 0.8903 GB, free: 268 kB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009269/0.3722, allocations: 3.159 MB / 0.8934 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01715/0.3893, allocations: 11.36 MB / 0.9045 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.697/1.086, allocations: 12.44 MB / 0.9166 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0138/1.1, allocations: 4.877 MB / 0.9214 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01491/1.115, allocations: 5.387 MB / 0.9267 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.006298/1.122, allocations: 0.9482 MB / 0.9276 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/1.133, allocations: 2.046 MB / 0.9296 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.01198/1.145, allocations: 3.679 MB / 0.9332 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.02159/1.167, allocations: 4.287 MB / 0.9374 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02821/1.195, allocations: 14.27 MB / 0.9513 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/1.195, allocations: 0 / 0.9513 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.775e-06/1.195, allocations: 0 / 0.9513 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006454/1.196, allocations: 2.969 kB / 0.9513 GB, free: 9.047 MB / 0.7169 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.03728/1.233, allocations: 7.6 MB / 0.9587 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/1.233, allocations: 8.812 kB / 0.9587 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/1.246, allocations: 1.517 MB / 0.9602 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/1.259, allocations: 4.442 MB / 0.9646 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000511/1.259, allocations: 458.8 kB / 0.965 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003851/1.263, allocations: 0.5992 MB / 0.9656 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02707/1.29, allocations: 10.67 MB / 0.976 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002263/1.29, allocations: 39.52 kB / 0.976 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001156/1.292, allocations: 261.5 kB / 0.9763 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002497/1.294, allocations: 0.7824 MB / 0.9771 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02282/1.317, allocations: 8.552 MB / 0.9854 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07514/1.392, allocations: 46.5 MB / 1.031 GB, free: 236 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006514/1.399, allocations: 4.321 MB / 1.035 GB, free: 11.91 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005815/1.404, allocations: 3.719 MB / 1.039 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/1.405, allocations: 34.78 kB / 1.039 GB, free: 8.152 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.689e-05/1.405, allocations: 80.72 kB / 1.039 GB, free: 8.066 MB / 0.795 GB Notification: Performance of pre-optimization done (n=353): time 5.55e-06/1.405, allocations: 4 kB / 1.039 GB, free: 8.062 MB / 0.795 GB Notification: Performance of matching and sorting (n=578): time 0.5397/1.945, allocations: 122.8 MB / 1.159 GB, free: 12.87 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.945, allocations: 111.9 kB / 1.159 GB, free: 12.74 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007452/1.952, allocations: 2.685 MB / 1.161 GB, free: 10.06 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.002044/1.954, allocations: 121.7 kB / 1.162 GB, free: 9.934 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002566/1.957, allocations: 2.672 MB / 1.164 GB, free: 7.242 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.005332/1.962, allocations: 1.951 MB / 1.166 GB, free: 5.305 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005598/1.968, allocations: 0.9326 MB / 1.167 GB, free: 4.363 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.968, allocations: 301.1 kB / 1.167 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007441/1.976, allocations: 4.077 MB / 1.171 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008016/1.984, allocations: 5.014 MB / 1.176 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01733/2.001, allocations: 9.851 MB / 1.186 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.385e-05/2.001, allocations: 5.219 kB / 1.186 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04274/2.044, allocations: 16.99 MB / 1.202 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/2.044, allocations: 19.98 kB / 1.202 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.906e-05/2.044, allocations: 24 kB / 1.202 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03204/2.076, allocations: 9.082 MB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/2.079, allocations: 0.5251 MB / 1.212 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.117/2.196, allocations: 76.96 MB / 1.287 GB, free: 7.742 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00758/2.204, allocations: 287.7 kB / 1.287 GB, free: 7.461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/2.206, allocations: 188.1 kB / 1.287 GB, free: 7.277 MB / 1.045 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.009268/2.215, allocations: 2.424 MB / 1.29 GB, free: 4.879 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002244/2.218, allocations: 482.5 kB / 1.29 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7868/3.004, allocations: 16.82 MB / 1.307 GB, free: 363.4 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.826e-05/3.005, allocations: 54.38 kB / 1.307 GB, free: 363.4 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005031/3.005, allocations: 71.81 kB / 1.307 GB, free: 363.4 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001777/3.005, allocations: 28.39 kB / 1.307 GB, free: 363.4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0636/3.069, allocations: 25.65 MB / 1.332 GB, free: 356 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.405e-05/3.069, allocations: 6.656 kB / 1.332 GB, free: 356 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/3.071, allocations: 318.8 kB / 1.332 GB, free: 355.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02676/3.098, allocations: 8.28 MB / 1.34 GB, free: 354.1 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001258/3.099, allocations: 104.9 kB / 1.34 GB, free: 354.1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08859/3.188, allocations: 73.81 MB / 1.412 GB, free: 296.8 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/3.188, allocations: 11.94 kB / 1.412 GB, free: 296.8 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0395/3.227, allocations: 21.57 MB / 1.433 GB, free: 275.1 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005457/3.233, allocations: 1.358 MB / 1.435 GB, free: 273.7 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002022/3.235, allocations: 108.8 kB / 1.435 GB, free: 273.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005904/3.241, allocations: 287.6 kB / 1.435 GB, free: 273.3 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003038/3.244, allocations: 0.5221 MB / 1.436 GB, free: 272.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005756/3.244, allocations: 147.9 kB / 1.436 GB, free: 272.6 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003148/3.247, allocations: 1.78 MB / 1.438 GB, free: 270.8 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.6e-07/3.247, allocations: 0 / 1.438 GB, free: 270.8 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.01492/3.262, allocations: 2.438 MB / 1.44 GB, free: 268.4 MB / 1.045 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.00243/3.265, allocations: 254 kB / 1.44 GB, free: 268.2 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.03303/3.298, allocations: 14.52 MB / 1.454 GB, free: 253.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/3.298, allocations: 4 kB / 1.454 GB, free: 253.4 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.02133/3.319, allocations: 9.376 MB / 1.464 GB, free: 243.9 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01286/3.332, allocations: 1.359 MB / 1.465 GB, free: 242.6 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04271/3.375, allocations: 15.57 MB / 1.48 GB, free: 227 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009887/3.385, allocations: 4.893 MB / 1.485 GB, free: 222.1 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.004137/3.389, allocations: 0.7448 MB / 1.486 GB, free: 221.3 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/3.39, allocations: 199.4 kB / 1.486 GB, free: 221.1 MB / 1.045 GB Notification: Performance of SimCode: time 1.693e-06/3.39, allocations: 0 / 1.486 GB, free: 221.1 MB / 1.045 GB Notification: Performance of Templates: time 0.2171/3.608, allocations: 146.9 MB / 1.629 GB, free: 75.58 MB / 1.045 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)