Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.304/2.304, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 196.9 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 103.7 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001658, allocations: 56.48 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3086, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03476/0.3434, allocations: 40.75 MB / 1.258 GB, free: 76.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02262/0.3661, allocations: 15.05 MB / 1.273 GB, free: 61.21 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007724/0.3739, allocations: 167.1 kB / 1.273 GB, free: 61.05 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01168/0.3856, allocations: 4.158 MB / 1.277 GB, free: 56.88 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.008543/0.3942, allocations: 2.636 MB / 1.279 GB, free: 54.23 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008001/0.4023, allocations: 2.892 MB / 1.282 GB, free: 51.34 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01493/0.4172, allocations: 16.07 MB / 1.298 GB, free: 35.24 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01988/0.4371, allocations: 13.65 MB / 1.311 GB, free: 21.46 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008176/0.4453, allocations: 4.149 MB / 1.315 GB, free: 17.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008422/0.4538, allocations: 5.483 MB / 1.321 GB, free: 11.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.003141/0.457, allocations: 0.6094 MB / 1.321 GB, free: 11.19 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006077/0.4631, allocations: 2.044 MB / 1.323 GB, free: 9.141 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.005297/0.4684, allocations: 3.36 MB / 1.327 GB, free: 5.773 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.01251/0.4809, allocations: 3.92 MB / 1.33 GB, free: 1.836 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.02449/0.5054, allocations: 14.03 MB / 1.344 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.5055, allocations: 0 / 1.344 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5055, allocations: 0 / 1.344 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0006171/0.5061, allocations: 0 / 1.344 GB, free: 3.77 MB / 0.8386 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.02453/0.5307, allocations: 7.596 MB / 1.351 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5307, allocations: 11.98 kB / 1.351 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.5414, allocations: 1.511 MB / 1.353 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.5522, allocations: 4.217 MB / 1.357 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004822/0.5527, allocations: 452.5 kB / 1.358 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003027/0.5558, allocations: 0.5978 MB / 1.358 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02468/0.5805, allocations: 10.69 MB / 1.369 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002307/0.5807, allocations: 27.78 kB / 1.369 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/0.5821, allocations: 259.9 kB / 1.369 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002933/0.5851, allocations: 0.7729 MB / 1.37 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/0.6042, allocations: 8.564 MB / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6844/1.289, allocations: 46.87 MB / 1.424 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007201/1.296, allocations: 4.301 MB / 1.428 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007322/1.303, allocations: 3.694 MB / 1.431 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005606/1.304, allocations: 36.72 kB / 1.432 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.461e-05/1.304, allocations: 78.42 kB / 1.432 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=353): time 7.975e-06/1.304, allocations: 3.984 kB / 1.432 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578): time 0.4828/1.787, allocations: 122.7 MB / 1.551 GB, free: 76.06 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/1.787, allocations: 115.9 kB / 1.552 GB, free: 75.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/1.79, allocations: 2.677 MB / 1.554 GB, free: 73.26 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009882/1.791, allocations: 125.7 kB / 1.554 GB, free: 73.13 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/1.792, allocations: 2.678 MB / 1.557 GB, free: 70.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001829/1.794, allocations: 1.945 MB / 1.559 GB, free: 68.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/1.796, allocations: 0.9325 MB / 1.56 GB, free: 67.56 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.512e-05/1.796, allocations: 308.5 kB / 1.56 GB, free: 67.26 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004734/1.801, allocations: 4.083 MB / 1.564 GB, free: 63.17 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005043/1.806, allocations: 5.011 MB / 1.569 GB, free: 57.83 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/1.816, allocations: 9.852 MB / 1.579 GB, free: 47.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/1.816, allocations: 4 kB / 1.579 GB, free: 47.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03432/1.851, allocations: 17 MB / 1.595 GB, free: 30.47 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/1.851, allocations: 19.98 kB / 1.595 GB, free: 30.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/1.851, allocations: 24 kB / 1.595 GB, free: 30.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02956/1.88, allocations: 9.081 MB / 1.604 GB, free: 21.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/1.883, allocations: 0.5187 MB / 1.605 GB, free: 20.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09818/1.981, allocations: 70.53 MB / 1.673 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005419/1.986, allocations: 279.8 kB / 1.674 GB, free: 12.53 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000913/1.987, allocations: 188 kB / 1.674 GB, free: 12.34 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.004576/1.992, allocations: 2.43 MB / 1.676 GB, free: 9.902 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.993, allocations: 474.5 kB / 1.677 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04142/2.035, allocations: 16.82 MB / 1.693 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.425e-05/2.035, allocations: 52 kB / 1.693 GB, free: 8.422 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003153/2.035, allocations: 72 kB / 1.693 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001388/2.035, allocations: 27.89 kB / 1.693 GB, free: 8.324 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05833/2.093, allocations: 25.65 MB / 1.718 GB, free: 14.44 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.726e-05/2.094, allocations: 12.88 kB / 1.718 GB, free: 14.43 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/2.095, allocations: 319.5 kB / 1.719 GB, free: 14.12 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03008/2.126, allocations: 8.269 MB / 1.727 GB, free: 5.805 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001022/2.127, allocations: 108 kB / 1.727 GB, free: 5.699 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1081/2.235, allocations: 67.42 MB / 1.793 GB, free: 0.9141 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/2.235, allocations: 11.94 kB / 1.793 GB, free: 0.9023 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09514/2.33, allocations: 47.32 MB / 1.839 GB, free: 392 kB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005016/2.335, allocations: 1.363 MB / 1.84 GB, free: 15 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002143/2.337, allocations: 111.9 kB / 1.84 GB, free: 14.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004989/2.342, allocations: 291.6 kB / 1.841 GB, free: 14.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002999/2.345, allocations: 0.5143 MB / 1.841 GB, free: 14.08 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001133/2.346, allocations: 147.9 kB / 1.841 GB, free: 13.93 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00348/2.35, allocations: 1.78 MB / 1.843 GB, free: 12.16 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.91e-07/2.35, allocations: 0 / 1.843 GB, free: 12.16 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01268/2.363, allocations: 2.781 MB / 1.846 GB, free: 9.383 MB / 1.151 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.001552/2.364, allocations: 236.7 kB / 1.846 GB, free: 9.141 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.5307/2.895, allocations: 14.48 MB / 1.86 GB, free: 383.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/2.895, allocations: 5.188 kB / 1.86 GB, free: 383.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0193/2.914, allocations: 9.356 MB / 1.869 GB, free: 382.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007783/2.922, allocations: 1.291 MB / 1.87 GB, free: 382.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03768/2.96, allocations: 23 MB / 1.893 GB, free: 373.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009586/2.969, allocations: 5.106 MB / 1.898 GB, free: 372.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00307/2.973, allocations: 0.7506 MB / 1.899 GB, free: 372.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006619/2.973, allocations: 197.5 kB / 1.899 GB, free: 372.6 MB / 1.151 GB Notification: Performance of SimCode: time 7.01e-07/2.973, allocations: 0 / 1.899 GB, free: 372.6 MB / 1.151 GB Notification: Performance of Templates: time 0.1983/3.171, allocations: 152.9 MB / 2.048 GB, free: 242.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)