Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.55/2.55, allocations: 287.5 MB / 302.4 MB, free: 8.379 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001401, allocations: 178.4 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 0.6297 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008515/0.000851, allocations: 95.02 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005499/0.0005501, allocations: 12.31 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2739, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0335/0.3074, allocations: 24.21 MB / 1.002 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.3253, allocations: 7.716 MB / 1.01 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.328, allocations: 99.44 kB / 1.01 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.3306, allocations: 0.5115 MB / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005464/0.3361, allocations: 1.29 MB / 1.011 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004914/0.3411, allocations: 0.9903 MB / 1.012 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01191/0.353, allocations: 6.876 MB / 1.019 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02016/0.3732, allocations: 8.178 MB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004911/0.3782, allocations: 1.871 MB / 1.029 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006045/0.3843, allocations: 2.402 MB / 1.031 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001314/0.3856, allocations: 212 kB / 1.032 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/0.3897, allocations: 0.6009 MB / 1.032 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003908/0.3937, allocations: 1.66 MB / 1.034 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.3958, allocations: 0.7966 MB / 1.035 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.4067, allocations: 6.623 MB / 1.041 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.4067, allocations: 0 / 1.041 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4068, allocations: 4 kB / 1.041 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000231/0.407, allocations: 4 kB / 1.041 GB, free: 12.04 MB / 0.6667 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.0117/0.4187, allocations: 3.456 MB / 1.044 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.4188, allocations: 16.03 kB / 1.044 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001875/0.4207, allocations: 0.538 MB / 1.045 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006908/0.4276, allocations: 0.803 MB / 1.046 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007974/0.4356, allocations: 2.37 MB / 1.048 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/0.436, allocations: 271.3 kB / 1.048 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001718/0.4378, allocations: 375.9 kB / 1.049 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01978/0.4576, allocations: 5.965 MB / 1.054 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/0.4578, allocations: 15.88 kB / 1.054 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00117/0.459, allocations: 156 kB / 1.055 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001061/0.4601, allocations: 278.9 kB / 1.055 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.4746, allocations: 4.5 MB / 1.059 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.786/1.261, allocations: 27.67 MB / 1.086 GB, free: 63.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/1.264, allocations: 1.122 MB / 1.087 GB, free: 62.87 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00264/1.267, allocations: 1.013 MB / 1.088 GB, free: 62.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/1.267, allocations: 16.09 kB / 1.088 GB, free: 62.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/1.267, allocations: 49.88 kB / 1.088 GB, free: 62.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 4.658e-06/1.267, allocations: 0 / 1.088 GB, free: 62.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.03934/1.306, allocations: 9.66 MB / 1.098 GB, free: 58.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/1.306, allocations: 74.3 kB / 1.098 GB, free: 58.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003392/1.31, allocations: 1.48 MB / 1.099 GB, free: 57.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003601/1.31, allocations: 47.55 kB / 1.099 GB, free: 57.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/1.312, allocations: 1.668 MB / 1.101 GB, free: 56.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007379/1.312, allocations: 466.6 kB / 1.102 GB, free: 55.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/1.313, allocations: 35.06 kB / 1.102 GB, free: 55.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.313, allocations: 379 kB / 1.102 GB, free: 55.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/1.315, allocations: 0.9102 MB / 1.103 GB, free: 55.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002994/1.318, allocations: 1.454 MB / 1.104 GB, free: 54.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003273/1.322, allocations: 1.14 MB / 1.105 GB, free: 53.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-05/1.322, allocations: 5.188 kB / 1.105 GB, free: 53.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01022/1.332, allocations: 3.275 MB / 1.109 GB, free: 52.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/1.332, allocations: 12.48 kB / 1.109 GB, free: 52.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/1.332, allocations: 19.83 kB / 1.109 GB, free: 52.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004094/1.336, allocations: 0.7386 MB / 1.109 GB, free: 52.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/1.339, allocations: 389 kB / 1.11 GB, free: 52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02089/1.36, allocations: 15.75 MB / 1.125 GB, free: 38.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/1.363, allocations: 107.6 kB / 1.125 GB, free: 38.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003802/1.363, allocations: 72.91 kB / 1.125 GB, free: 38.38 MB / 0.6823 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.004149/1.367, allocations: 1.309 MB / 1.127 GB, free: 37.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000797/1.368, allocations: 204.4 kB / 1.127 GB, free: 37.67 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008798/1.377, allocations: 2.775 MB / 1.129 GB, free: 36.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/1.377, allocations: 21.44 kB / 1.129 GB, free: 36.03 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.158e-05/1.377, allocations: 6.062 kB / 1.129 GB, free: 36.03 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-05/1.377, allocations: 9.203 kB / 1.129 GB, free: 36.02 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/1.396, allocations: 6.207 MB / 1.136 GB, free: 32.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/1.396, allocations: 8.219 kB / 1.136 GB, free: 32.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.399, allocations: 238.8 kB / 1.136 GB, free: 32.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003583/1.402, allocations: 0.6711 MB / 1.136 GB, free: 31.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003199/1.403, allocations: 31.86 kB / 1.136 GB, free: 31.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02015/1.423, allocations: 15.5 MB / 1.152 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/1.423, allocations: 7.875 kB / 1.152 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009959/1.433, allocations: 3.99 MB / 1.155 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/1.435, allocations: 457.1 kB / 1.156 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000685/1.435, allocations: 41.14 kB / 1.156 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/1.437, allocations: 81.58 kB / 1.156 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004051/1.438, allocations: 113.6 kB / 1.156 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/1.438, allocations: 41.92 kB / 1.156 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001956/1.44, allocations: 0.9809 MB / 1.157 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/1.44, allocations: 4 kB / 1.157 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003791/1.444, allocations: 0.6833 MB / 1.158 GB, free: 13.85 MB / 0.6823 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.012/1.456, allocations: 4.594 MB / 1.162 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.468, allocations: 3.491 MB / 1.166 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.82e-05/1.468, allocations: 0 / 1.166 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.007494/1.476, allocations: 2.285 MB / 1.168 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007535/1.483, allocations: 0.6182 MB / 1.169 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07103/1.554, allocations: 17.75 MB / 1.186 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008328/1.563, allocations: 2.672 MB / 1.188 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004182/1.567, allocations: 489.4 kB / 1.189 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004351/1.571, allocations: 1.284 MB / 1.19 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of SimCode: time 2.565e-06/1.571, allocations: 4 kB / 1.19 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1656/1.737, allocations: 54.66 MB / 1.244 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003511/1.737, allocations: 234.2 kB / 1.244 GB, free: 5.914 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.349/6.086, allocations: 0 / 1.244 GB, free: 5.914 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)