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.001981/0.00198, allocations: 108 kB / 15.61 MB, free: 152 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.001286/0.001286, allocations: 197 kB / 16.53 MB, free: 6.664 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.469/1.469, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.82/1.82, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001488/0.001488, allocations: 72.31 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.236, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0468/0.2829, allocations: 41.12 MB / 0.8236 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02637/0.3093, allocations: 15.09 MB / 0.8384 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004982/0.3143, allocations: 195 kB / 0.8386 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01142/0.3258, allocations: 4.454 MB / 0.8429 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009826/0.3357, allocations: 2.79 MB / 0.8456 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008809/0.3445, allocations: 3.164 MB / 0.8487 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01624/0.3608, allocations: 11.4 MB / 0.8599 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01953/0.3804, allocations: 12.63 MB / 0.8722 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009509/0.3899, allocations: 4.795 MB / 0.8769 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00927/0.3993, allocations: 5.39 MB / 0.8821 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.00282/0.4021, allocations: 0.9453 MB / 0.8831 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005716/0.4078, allocations: 2.044 MB / 0.8851 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.005175/0.413, allocations: 3.695 MB / 0.8887 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.4233, allocations: 4.299 MB / 0.8929 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.5551/0.9784, allocations: 14.18 MB / 0.9067 GB, free: 43.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.9785, allocations: 0 / 0.9067 GB, free: 43.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9785, allocations: 0 / 0.9067 GB, free: 43.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0007719/0.9793, allocations: 1.031 kB / 0.9067 GB, free: 43.98 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.02627/1.006, allocations: 7.598 MB / 0.9141 GB, free: 41.51 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.006, allocations: 8.438 kB / 0.9141 GB, free: 41.51 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002764/1.008, allocations: 0.8908 MB / 0.915 GB, free: 41.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/1.021, allocations: 1.518 MB / 0.9165 GB, free: 41.05 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/1.033, allocations: 4.209 MB / 0.9206 GB, free: 40.19 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006108/1.034, allocations: 458.1 kB / 0.921 GB, free: 40.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003697/1.037, allocations: 0.5951 MB / 0.9216 GB, free: 40.17 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04334/1.081, allocations: 10.68 MB / 0.9321 GB, free: 39.04 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005874/1.081, allocations: 30.84 kB / 0.9321 GB, free: 39.04 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003132/1.084, allocations: 266.3 kB / 0.9323 GB, free: 39.04 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003673/1.088, allocations: 0.7722 MB / 0.9331 GB, free: 39.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02463/1.113, allocations: 8.561 MB / 0.9415 GB, free: 38.96 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07933/1.192, allocations: 46.86 MB / 0.9872 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006766/1.199, allocations: 4.302 MB / 0.9914 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00617/1.205, allocations: 3.7 MB / 0.995 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005134/1.206, allocations: 37.47 kB / 0.9951 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.702e-05/1.206, allocations: 72.72 kB / 0.9951 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 7.274e-06/1.206, allocations: 0 / 0.9951 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.5421/1.748, allocations: 122.8 MB / 1.115 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.748, allocations: 111.9 kB / 1.115 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005083/1.753, allocations: 2.691 MB / 1.118 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.00142/1.755, allocations: 117.7 kB / 1.118 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002047/1.757, allocations: 2.677 MB / 1.121 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.003017/1.76, allocations: 1.956 MB / 1.122 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003873/1.764, allocations: 0.9248 MB / 1.123 GB, free: 384 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.764, allocations: 301.1 kB / 1.124 GB, free: 80 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007249/1.771, allocations: 4.075 MB / 1.128 GB, free: 12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008225/1.779, allocations: 5.018 MB / 1.133 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01672/1.796, allocations: 9.861 MB / 1.142 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.554e-05/1.796, allocations: 4 kB / 1.142 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04711/1.843, allocations: 17 MB / 1.159 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/1.843, allocations: 16 kB / 1.159 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.766e-05/1.844, allocations: 27.98 kB / 1.159 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03417/1.878, allocations: 9.144 MB / 1.168 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/1.88, allocations: 0.5258 MB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.119/1.999, allocations: 77.01 MB / 1.243 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005605/2.005, allocations: 286.1 kB / 1.244 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/2.006, allocations: 188 kB / 1.244 GB, free: 3.172 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.005831/2.012, allocations: 2.42 MB / 1.246 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002008/2.014, allocations: 477.9 kB / 1.247 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04365/2.058, allocations: 16.9 MB / 1.263 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.332e-05/2.058, allocations: 56 kB / 1.263 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002605/2.058, allocations: 72 kB / 1.263 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001285/2.058, allocations: 27.89 kB / 1.263 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5523/2.611, allocations: 25.66 MB / 1.288 GB, free: 363.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.616e-05/2.611, allocations: 9.656 kB / 1.288 GB, free: 363.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001959/2.613, allocations: 322.1 kB / 1.289 GB, free: 363.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03056/2.643, allocations: 8.341 MB / 1.297 GB, free: 363.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/2.645, allocations: 105.5 kB / 1.297 GB, free: 363.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0892/2.734, allocations: 73.89 MB / 1.369 GB, free: 321.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/2.734, allocations: 8 kB / 1.369 GB, free: 321.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03634/2.77, allocations: 21.57 MB / 1.39 GB, free: 299.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003133/2.773, allocations: 1.358 MB / 1.392 GB, free: 298.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008865/2.774, allocations: 111.9 kB / 1.392 GB, free: 298.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003255/2.778, allocations: 287.6 kB / 1.392 GB, free: 298 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001829/2.779, allocations: 0.5222 MB / 1.392 GB, free: 297.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003475/2.78, allocations: 144 kB / 1.393 GB, free: 297.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002024/2.782, allocations: 1.776 MB / 1.394 GB, free: 295.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/2.782, allocations: 0 / 1.394 GB, free: 295.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006836/2.789, allocations: 2.465 MB / 1.397 GB, free: 293.1 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.03616/2.825, allocations: 22.27 MB / 1.418 GB, free: 270.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.03065/2.855, allocations: 18.67 MB / 1.437 GB, free: 251.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/2.856, allocations: 4 kB / 1.437 GB, free: 251.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01677/2.872, allocations: 9.35 MB / 1.446 GB, free: 242.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007358/2.88, allocations: 1.38 MB / 1.447 GB, free: 240.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1353/3.015, allocations: 79.86 MB / 1.525 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008378/3.023, allocations: 4.897 MB / 1.53 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003472/3.027, allocations: 0.7371 MB / 1.531 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004271/3.031, allocations: 2.616 MB / 1.533 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.82e-07/3.031, allocations: 0 / 1.533 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7281/3.759, allocations: 196.9 MB / 1.725 GB, free: 348.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/18.4, allocations: 6.734 kB / 1.726 GB, free: 348.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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)