Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001204, allocations: 185.8 kB / 16.62 MB, free: 6.613 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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.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.002131/0.002131, allocations: 68.34 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2771, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0429/0.3201, allocations: 41.14 MB / 0.8238 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02478/0.3449, allocations: 15.08 MB / 0.8385 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005485/0.3504, allocations: 187.1 kB / 0.8387 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01166/0.3622, allocations: 4.461 MB / 0.8431 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008566/0.3708, allocations: 2.79 MB / 0.8458 GB, free: 13.4 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008379/0.3792, allocations: 3.157 MB / 0.8489 GB, free: 10.24 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01734/0.3966, allocations: 11.41 MB / 0.86 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01939/0.416, allocations: 12.46 MB / 0.8722 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008789/0.4248, allocations: 4.825 MB / 0.8769 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.435, allocations: 5.394 MB / 0.8822 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003853/0.4389, allocations: 0.9492 MB / 0.8831 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008112/0.447, allocations: 2.036 MB / 0.8851 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00786/0.4549, allocations: 3.688 MB / 0.8887 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.011/0.466, allocations: 4.295 MB / 0.8929 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4759/0.9419, allocations: 14.27 MB / 0.9068 GB, free: 43.92 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.942, allocations: 1.969 kB / 0.9068 GB, free: 43.92 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.705e-06/0.942, allocations: 0 / 0.9068 GB, free: 43.92 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004891/0.9425, allocations: 1.469 kB / 0.9068 GB, free: 43.92 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.02455/0.967, allocations: 7.618 MB / 0.9142 GB, free: 41.46 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.9671, allocations: 8.844 kB / 0.9143 GB, free: 41.46 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003606/0.9707, allocations: 0.8907 MB / 0.9151 GB, free: 41.39 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.9833, allocations: 1.516 MB / 0.9166 GB, free: 41.01 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.9959, allocations: 4.442 MB / 0.9209 GB, free: 40.11 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000655/0.9965, allocations: 460.2 kB / 0.9214 GB, free: 40.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004069/1.001, allocations: 0.5945 MB / 0.922 GB, free: 40.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03147/1.032, allocations: 10.68 MB / 0.9324 GB, free: 38.96 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004793/1.033, allocations: 33.25 kB / 0.9324 GB, free: 38.95 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002981/1.036, allocations: 266.9 kB / 0.9327 GB, free: 38.95 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003233/1.039, allocations: 0.7706 MB / 0.9334 GB, free: 38.94 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02064/1.06, allocations: 8.564 MB / 0.9418 GB, free: 38.87 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0679/1.128, allocations: 46.54 MB / 0.9872 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005721/1.133, allocations: 4.311 MB / 0.9915 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005546/1.139, allocations: 3.697 MB / 0.9951 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004912/1.139, allocations: 38.98 kB / 0.9951 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.433e-05/1.14, allocations: 80.03 kB / 0.9952 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 7.454e-06/1.14, allocations: 0 / 0.9952 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.5165/1.656, allocations: 122.7 MB / 1.115 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/1.656, allocations: 115.9 kB / 1.115 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005448/1.662, allocations: 2.681 MB / 1.118 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001265/1.663, allocations: 121.7 kB / 1.118 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002242/1.665, allocations: 2.683 MB / 1.121 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.003322/1.669, allocations: 1.949 MB / 1.122 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003937/1.673, allocations: 0.9248 MB / 1.123 GB, free: 484 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/1.673, allocations: 301.1 kB / 1.124 GB, free: 180 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006929/1.68, allocations: 4.079 MB / 1.128 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008141/1.688, allocations: 5.016 MB / 1.132 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01657/1.704, allocations: 9.86 MB / 1.142 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-05/1.704, allocations: 8 kB / 1.142 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04349/1.748, allocations: 16.99 MB / 1.159 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/1.748, allocations: 12 kB / 1.159 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.402e-05/1.748, allocations: 24 kB / 1.159 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03238/1.78, allocations: 9.087 MB / 1.168 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/1.783, allocations: 0.5216 MB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1117/1.895, allocations: 76.96 MB / 1.243 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006991/1.902, allocations: 279.8 kB / 1.244 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/1.904, allocations: 196 kB / 1.244 GB, free: 3.395 MB / 0.9669 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.005526/1.909, allocations: 2.423 MB / 1.246 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001747/1.911, allocations: 470.5 kB / 1.247 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04239/1.953, allocations: 16.85 MB / 1.263 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.506e-05/1.953, allocations: 56 kB / 1.263 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002732/1.954, allocations: 72 kB / 1.263 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001515/1.954, allocations: 27.89 kB / 1.263 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4937/2.448, allocations: 25.66 MB / 1.288 GB, free: 363.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.836e-05/2.448, allocations: 9.281 kB / 1.288 GB, free: 363.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/2.45, allocations: 316.4 kB / 1.289 GB, free: 363.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03181/2.481, allocations: 8.277 MB / 1.297 GB, free: 363.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001376/2.483, allocations: 102.9 kB / 1.297 GB, free: 363.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0949/2.578, allocations: 73.82 MB / 1.369 GB, free: 321.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/2.578, allocations: 12.95 kB / 1.369 GB, free: 321.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03962/2.617, allocations: 21.56 MB / 1.39 GB, free: 299.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00339/2.621, allocations: 1.366 MB / 1.391 GB, free: 298.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001764/2.623, allocations: 103.9 kB / 1.391 GB, free: 298.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004232/2.627, allocations: 295.6 kB / 1.392 GB, free: 298.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002156/2.629, allocations: 0.5221 MB / 1.392 GB, free: 297.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007858/2.63, allocations: 140.9 kB / 1.392 GB, free: 297.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002659/2.633, allocations: 1.776 MB / 1.394 GB, free: 295.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.352e-06/2.633, allocations: 0 / 1.394 GB, free: 295.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.009649/2.642, allocations: 2.465 MB / 1.396 GB, free: 293.2 MB / 0.9981 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.03866/2.681, allocations: 22.28 MB / 1.418 GB, free: 270.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02297/2.704, allocations: 14.53 MB / 1.432 GB, free: 255.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/2.704, allocations: 0 / 1.432 GB, free: 255.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01809/2.722, allocations: 9.355 MB / 1.441 GB, free: 246.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007667/2.73, allocations: 1.363 MB / 1.443 GB, free: 245 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1411/2.871, allocations: 70.18 MB / 1.511 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01153/2.883, allocations: 4.901 MB / 1.516 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003553/2.886, allocations: 0.7417 MB / 1.517 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003607/2.89, allocations: 2.612 MB / 1.519 GB, free: 165 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/2.89, allocations: 0 / 1.519 GB, free: 165 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.684/3.574, allocations: 194.1 MB / 1.709 GB, free: 351.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.92/24.49, allocations: 3.844 kB / 1.709 GB, free: 351.1 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)