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_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 252 MB / 267 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 176.2 kB / 326.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.4 MB / 0.5777 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008635/0.0008637, allocations: 100.8 kB / 0.6823 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003485, allocations: 9.25 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2607, allocations: 106.4 MB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01922/0.28, allocations: 24.2 MB / 0.924 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.2919, allocations: 7.735 MB / 0.9315 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.2945, allocations: 99.44 kB / 0.9316 GB, free: 31.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.2959, allocations: 0.5115 MB / 0.9321 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00371/0.2996, allocations: 1.279 MB / 0.9334 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.3027, allocations: 0.9945 MB / 0.9343 GB, free: 28.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007057/0.3097, allocations: 6.876 MB / 0.941 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01147/0.3212, allocations: 8.159 MB / 0.949 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003999/0.3253, allocations: 1.879 MB / 0.9508 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004465/0.3298, allocations: 2.398 MB / 0.9532 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.3309, allocations: 212 kB / 0.9534 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.3335, allocations: 0.6009 MB / 0.954 GB, free: 8.617 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001957/0.3355, allocations: 1.66 MB / 0.9556 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.337, allocations: 0.8005 MB / 0.9564 GB, free: 6.145 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.007035/0.344, allocations: 6.627 MB / 0.9629 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.3441, allocations: 4 kB / 0.9629 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.536e-06/0.3441, allocations: 0 / 0.9629 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003527/0.3445, allocations: 0 / 0.9629 GB, free: 15.5 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009504/0.354, allocations: 3.456 MB / 0.9662 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.354, allocations: 8.031 kB / 0.9662 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001811/0.3559, allocations: 0.538 MB / 0.9668 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/0.3607, allocations: 0.803 MB / 0.9675 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005409/0.3661, allocations: 2.374 MB / 0.9699 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.3663, allocations: 275.2 kB / 0.9701 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/0.3674, allocations: 371.9 kB / 0.9705 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.3803, allocations: 5.965 MB / 0.9763 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.3804, allocations: 19.78 kB / 0.9763 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004307/0.3809, allocations: 156 kB / 0.9765 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006305/0.3815, allocations: 286.9 kB / 0.9768 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.3922, allocations: 4.492 MB / 0.9811 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03819/0.4304, allocations: 27.69 MB / 1.008 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.4326, allocations: 1.118 MB / 1.009 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.4342, allocations: 1.015 MB / 1.01 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.4344, allocations: 13 kB / 1.01 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.4344, allocations: 55.48 kB / 1.01 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=110): time 2.866e-06/0.4344, allocations: 0 / 1.01 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.02442/0.4589, allocations: 9.661 MB / 1.02 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.459, allocations: 64.72 kB / 1.02 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.4617, allocations: 1.482 MB / 1.021 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002231/0.462, allocations: 45.7 kB / 1.021 GB, free: 496 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.4633, allocations: 1.671 MB / 1.023 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005898/0.4639, allocations: 473.3 kB / 1.023 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.4641, allocations: 36 kB / 1.023 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00024/0.4643, allocations: 373.9 kB / 1.024 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.466, allocations: 0.9057 MB / 1.025 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.468, allocations: 1.463 MB / 1.026 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.4699, allocations: 1.142 MB / 1.027 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.24e-05/0.4699, allocations: 4 kB / 1.027 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006902/0.4768, allocations: 3.274 MB / 1.03 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/0.477, allocations: 12 kB / 1.03 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-05/0.477, allocations: 16 kB / 1.03 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/0.4795, allocations: 0.7452 MB / 1.031 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.4814, allocations: 387.4 kB / 1.032 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.4975, allocations: 15.75 MB / 1.047 GB, free: 4.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.4995, allocations: 111.8 kB / 1.047 GB, free: 4.598 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003922/0.4999, allocations: 72 kB / 1.047 GB, free: 4.527 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003211/0.5031, allocations: 1.317 MB / 1.048 GB, free: 3.199 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006452/0.5038, allocations: 197.7 kB / 1.049 GB, free: 3.004 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005397/0.5092, allocations: 2.777 MB / 1.051 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.5092, allocations: 12 kB / 1.051 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.16e-05/0.5093, allocations: 7.953 kB / 1.051 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.5093, allocations: 11.97 kB / 1.051 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5486/1.058, allocations: 6.202 MB / 1.057 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/1.058, allocations: 5.312 kB / 1.057 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/1.059, allocations: 229.5 kB / 1.058 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/1.061, allocations: 0.6691 MB / 1.058 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/1.061, allocations: 32.23 kB / 1.058 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/1.076, allocations: 15.5 MB / 1.073 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-06/1.076, allocations: 5.531 kB / 1.073 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008238/1.085, allocations: 4 MB / 1.077 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.086, allocations: 460.5 kB / 1.078 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/1.086, allocations: 31.72 kB / 1.078 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.087, allocations: 93.95 kB / 1.078 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003899/1.088, allocations: 114.9 kB / 1.078 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.731e-05/1.088, allocations: 38.17 kB / 1.078 GB, free: 123.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001672/1.09, allocations: 0.9758 MB / 1.079 GB, free: 122.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.09, allocations: 0 / 1.079 GB, free: 122.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002939/1.092, allocations: 0.6847 MB / 1.08 GB, free: 122.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006916/1.099, allocations: 4.591 MB / 1.084 GB, free: 120.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005068/1.105, allocations: 3.494 MB / 1.088 GB, free: 118.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.105, allocations: 1.062 kB / 1.088 GB, free: 118.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003094/1.108, allocations: 2.28 MB / 1.09 GB, free: 117.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/1.111, allocations: 0.6196 MB / 1.09 GB, free: 116.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03255/1.144, allocations: 17.78 MB / 1.108 GB, free: 105.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/1.146, allocations: 2.667 MB / 1.11 GB, free: 102.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001726/1.148, allocations: 477.4 kB / 1.111 GB, free: 102.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/1.149, allocations: 1.288 MB / 1.112 GB, free: 101.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/1.149, allocations: 0 / 1.112 GB, free: 101.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08641/1.235, allocations: 54.69 MB / 1.165 GB, free: 47.18 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/1.236, allocations: 239.7 kB / 1.166 GB, free: 46.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.345/4.581, allocations: 0 / 1.166 GB, free: 46.94 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)