Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00157/0.00157, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 287 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.952/0.952, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 90.44 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1884, allocations: 86.99 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03615/0.2246, allocations: 37.23 MB / 0.7159 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.2439, allocations: 13.01 MB / 0.7286 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00401/0.248, allocations: 155.1 kB / 0.7288 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008906/0.2569, allocations: 3.613 MB / 0.7323 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006831/0.2638, allocations: 2.356 MB / 0.7346 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006223/0.27, allocations: 2.462 MB / 0.737 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01453/0.2845, allocations: 13.37 MB / 0.7501 GB, free: 8.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01705/0.3017, allocations: 11.69 MB / 0.7615 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005764/0.3075, allocations: 3.394 MB / 0.7648 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007179/0.3147, allocations: 4.459 MB / 0.7691 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00183/0.3165, allocations: 0.4922 MB / 0.7696 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004846/0.3214, allocations: 1.814 MB / 0.7714 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.3288/0.6502, allocations: 2.753 MB / 0.7741 GB, free: 31.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00913/0.6593, allocations: 3.27 MB / 0.7773 GB, free: 31.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01787/0.6772, allocations: 11.66 MB / 0.7887 GB, free: 30.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.6773, allocations: 0 / 0.7887 GB, free: 30.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6773, allocations: 0 / 0.7887 GB, free: 30.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004193/0.6777, allocations: 1.531 kB / 0.7887 GB, free: 30.12 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02196/0.6997, allocations: 6.355 MB / 0.7949 GB, free: 27.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.6997, allocations: 11.53 kB / 0.7949 GB, free: 27.83 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003123/0.7029, allocations: 0.7532 MB / 0.7956 GB, free: 27.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009394/0.7123, allocations: 1.304 MB / 0.7969 GB, free: 27.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008021/0.7203, allocations: 3.557 MB / 0.8004 GB, free: 26.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.7207, allocations: 380.1 kB / 0.8007 GB, free: 26.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002522/0.7232, allocations: 0.4989 MB / 0.8012 GB, free: 26.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.7444, allocations: 8.891 MB / 0.8099 GB, free: 25.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000285/0.7447, allocations: 29.36 kB / 0.8099 GB, free: 25.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001808/0.7465, allocations: 217.4 kB / 0.8101 GB, free: 25.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001937/0.7485, allocations: 0.6337 MB / 0.8108 GB, free: 25.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0154/0.7639, allocations: 7.017 MB / 0.8176 GB, free: 25.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05329/0.8172, allocations: 40.33 MB / 0.857 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004133/0.8214, allocations: 2.888 MB / 0.8598 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003677/0.8251, allocations: 2.67 MB / 0.8624 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.8254, allocations: 30.22 kB / 0.8624 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.131e-05/0.8255, allocations: 75.45 kB / 0.8625 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 5.03e-06/0.8255, allocations: 0 / 0.8625 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.2846/1.11, allocations: 74.67 MB / 0.9354 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/1.11, allocations: 98.11 kB / 0.9355 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003328/1.114, allocations: 2.352 MB / 0.9378 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0009474/1.115, allocations: 97.7 kB / 0.9379 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/1.116, allocations: 2.337 MB / 0.9402 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001859/1.118, allocations: 1.438 MB / 0.9416 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/1.119, allocations: 0.7215 MB / 0.9423 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.637e-05/1.119, allocations: 309.1 kB / 0.9426 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00421/1.124, allocations: 2.999 MB / 0.9455 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004751/1.128, allocations: 3.841 MB / 0.9493 GB, free: 13.33 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/1.138, allocations: 7.384 MB / 0.9565 GB, free: 5.715 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/1.138, allocations: 4 kB / 0.9565 GB, free: 5.711 MB / 0.67 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02874/1.167, allocations: 12.57 MB / 0.9688 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/1.167, allocations: 12 kB / 0.9688 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/1.167, allocations: 24 kB / 0.9688 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02311/1.19, allocations: 6.012 MB / 0.9747 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/1.193, allocations: 497.4 kB / 0.9752 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08049/1.273, allocations: 67.18 MB / 1.041 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004544/1.278, allocations: 211.8 kB / 1.041 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000953/1.279, allocations: 160 kB / 1.041 GB, free: 12.36 MB / 0.7637 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005079/1.284, allocations: 1.989 MB / 1.043 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/1.285, allocations: 391.4 kB / 1.043 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3372/1.622, allocations: 12.22 MB / 1.055 GB, free: 267 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.865e-05/1.623, allocations: 41.81 kB / 1.055 GB, free: 267 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001846/1.623, allocations: 53.2 kB / 1.055 GB, free: 267 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.981e-05/1.623, allocations: 19.88 kB / 1.055 GB, free: 267 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04126/1.664, allocations: 19.15 MB / 1.074 GB, free: 264 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.623e-05/1.664, allocations: 6.719 kB / 1.074 GB, free: 264 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/1.666, allocations: 290.3 kB / 1.074 GB, free: 264 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02068/1.687, allocations: 5.578 MB / 1.08 GB, free: 262.6 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001015/1.688, allocations: 81.94 kB / 1.08 GB, free: 262.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06198/1.75, allocations: 64.78 MB / 1.143 GB, free: 212.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.75, allocations: 15.92 kB / 1.143 GB, free: 212.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02638/1.776, allocations: 15.61 MB / 1.159 GB, free: 196.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002799/1.779, allocations: 1.048 MB / 1.16 GB, free: 195.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001426/1.78, allocations: 87.98 kB / 1.16 GB, free: 195.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003383/1.784, allocations: 215.7 kB / 1.16 GB, free: 195.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001562/1.785, allocations: 402.2 kB / 1.16 GB, free: 195.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003154/1.786, allocations: 108 kB / 1.16 GB, free: 195 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001963/1.788, allocations: 1.553 MB / 1.162 GB, free: 193.5 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/1.788, allocations: 4 kB / 1.162 GB, free: 193.5 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006018/1.794, allocations: 1.863 MB / 1.164 GB, free: 191.6 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02587/1.82, allocations: 16.28 MB / 1.18 GB, free: 175.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01631/1.836, allocations: 12.18 MB / 1.191 GB, free: 162.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.836, allocations: 0 / 1.191 GB, free: 162.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01184/1.848, allocations: 8.35 MB / 1.2 GB, free: 154 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004772/1.853, allocations: 1.112 MB / 1.201 GB, free: 152.9 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09638/1.949, allocations: 62.7 MB / 1.262 GB, free: 86.15 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00376/1.953, allocations: 4.09 MB / 1.266 GB, free: 82.03 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002399/1.955, allocations: 0.663 MB / 1.267 GB, free: 81.36 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/1.957, allocations: 2.132 MB / 1.269 GB, free: 79.23 MB / 0.7637 GB Notification: Performance of SimCode: time 7.32e-07/1.957, allocations: 0 / 1.269 GB, free: 79.23 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4439/2.401, allocations: 147.7 MB / 1.413 GB, free: 219.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/2.401, allocations: 255.9 kB / 1.413 GB, free: 219.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.818/7.219, allocations: 0 / 1.413 GB, free: 219.5 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)