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_N.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_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.676/2.676, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.002043/0.002043, allocations: 178.8 kB / 370.8 MB, free: 10.86 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.159/2.159, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001188/0.001188, allocations: 86.91 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004807, allocations: 13.7 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2219, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.03744/0.2594, allocations: 17.63 MB / 0.9955 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0186/0.2781, allocations: 6.207 MB / 1.002 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00257/0.2807, allocations: 71.56 kB / 1.002 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.2828, allocations: 401.5 kB / 1.002 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.2878, allocations: 0.8645 MB / 1.003 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004511/0.2923, allocations: 0.7829 MB / 1.004 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006408/0.2988, allocations: 2.319 MB / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02205/0.3209, allocations: 6.377 MB / 1.012 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00486/0.3258, allocations: 1.312 MB / 1.013 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004567/0.3305, allocations: 1.374 MB / 1.015 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.3317, allocations: 176 kB / 1.015 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.3346, allocations: 411.6 kB / 1.015 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00343/0.3381, allocations: 1.236 MB / 1.017 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.3403, allocations: 0.6408 MB / 1.017 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.3517, allocations: 5.298 MB / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3518, allocations: 0 / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.286e-06/0.3518, allocations: 4 kB / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002023/0.352, allocations: 0 / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01328/0.3653, allocations: 2.835 MB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.3654, allocations: 8.031 kB / 1.025 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002328/0.3678, allocations: 462.3 kB / 1.026 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008169/0.376, allocations: 0.6207 MB / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008967/0.385, allocations: 1.896 MB / 1.028 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004725/0.3855, allocations: 218 kB / 1.028 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001779/0.3873, allocations: 288 kB / 1.028 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/0.4088, allocations: 4.851 MB / 1.033 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002232/0.4091, allocations: 19.78 kB / 1.033 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001226/0.4104, allocations: 124 kB / 1.033 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001089/0.4115, allocations: 233.7 kB / 1.034 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.4278, allocations: 3.723 MB / 1.037 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05295/0.4808, allocations: 21.6 MB / 1.058 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004961/0.4858, allocations: 1.302 MB / 1.06 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.4861, allocations: 9 kB / 1.06 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.4e-05/0.4862, allocations: 51.5 kB / 1.06 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 5.741e-06/0.4862, allocations: 4 kB / 1.06 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.6622/1.148, allocations: 8.649 MB / 1.068 GB, free: 82.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/1.148, allocations: 67.12 kB / 1.068 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/1.151, allocations: 1.123 MB / 1.069 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003022/1.152, allocations: 46.89 kB / 1.069 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/1.153, allocations: 1.298 MB / 1.071 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006923/1.153, allocations: 484.1 kB / 1.071 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/1.154, allocations: 30.31 kB / 1.071 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001816/1.154, allocations: 373.5 kB / 1.071 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002519/1.156, allocations: 0.9067 MB / 1.072 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002935/1.159, allocations: 1.317 MB / 1.074 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002987/1.162, allocations: 1.13 MB / 1.075 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/1.162, allocations: 4.406 kB / 1.075 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.01123/1.174, allocations: 3.447 MB / 1.078 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/1.174, allocations: 11.62 kB / 1.078 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.406e-05/1.174, allocations: 12.78 kB / 1.078 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006133/1.18, allocations: 1.196 MB / 1.079 GB, free: 77.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/1.183, allocations: 256 kB / 1.079 GB, free: 77.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04014/1.223, allocations: 13.19 MB / 1.092 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/1.225, allocations: 89.02 kB / 1.092 GB, free: 69.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/1.226, allocations: 62.45 kB / 1.093 GB, free: 69.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003206/1.229, allocations: 1.116 MB / 1.094 GB, free: 68.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005478/1.229, allocations: 159.6 kB / 1.094 GB, free: 68.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009914/1.239, allocations: 3.164 MB / 1.097 GB, free: 67.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/1.239, allocations: 12.39 kB / 1.097 GB, free: 67.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.171e-05/1.239, allocations: 13.73 kB / 1.097 GB, free: 67.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4e-05/1.239, allocations: 6.984 kB / 1.097 GB, free: 67.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02348/1.263, allocations: 6.231 MB / 1.103 GB, free: 64.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-05/1.263, allocations: 8.438 kB / 1.103 GB, free: 64.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/1.265, allocations: 148.5 kB / 1.103 GB, free: 64.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008766/1.274, allocations: 1.072 MB / 1.104 GB, free: 64.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004487/1.274, allocations: 29.64 kB / 1.104 GB, free: 64.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04003/1.314, allocations: 12.91 MB / 1.117 GB, free: 55.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/1.314, allocations: 5 kB / 1.117 GB, free: 55.86 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/1.327, allocations: 3.397 MB / 1.12 GB, free: 53.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.329, allocations: 433.1 kB / 1.121 GB, free: 53.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005825/1.33, allocations: 25.44 kB / 1.121 GB, free: 53.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/1.332, allocations: 84.7 kB / 1.121 GB, free: 53.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007527/1.333, allocations: 123.8 kB / 1.121 GB, free: 53.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/1.333, allocations: 36.91 kB / 1.121 GB, free: 53.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002344/1.336, allocations: 0.7569 MB / 1.122 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.82e-07/1.336, allocations: 0 / 1.122 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005084/1.341, allocations: 0.6614 MB / 1.122 GB, free: 52.63 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0135/1.354, allocations: 5.17 MB / 1.127 GB, free: 48.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01095/1.365, allocations: 3.124 MB / 1.13 GB, free: 46.86 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/1.365, allocations: 4.344 kB / 1.13 GB, free: 46.86 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.007436/1.373, allocations: 1.958 MB / 1.132 GB, free: 45.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004998/1.378, allocations: 446.2 kB / 1.133 GB, free: 45.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05766/1.436, allocations: 23.2 MB / 1.155 GB, free: 21.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005853/1.441, allocations: 2.391 MB / 1.158 GB, free: 19.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002797/1.444, allocations: 354.1 kB / 1.158 GB, free: 18.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0029/1.447, allocations: 1.007 MB / 1.159 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of SimCode: time 1.913e-06/1.447, allocations: 0 / 1.159 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1522/1.6, allocations: 49.33 MB / 1.207 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/1.6, allocations: 229.9 kB / 1.207 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.869/5.469, allocations: 0 / 1.207 GB, free: 0.7812 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)