Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 105.4 kB / 15.7 MB, free: 24 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.001437/0.001437, allocations: 195.9 kB / 16.64 MB, free: 6.449 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.379/1.379, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.73/1.73, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001477/0.001477, allocations: 68.58 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.25, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02258/0.2726, allocations: 20.16 MB / 0.8033 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.2847, allocations: 6.505 MB / 0.8097 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.2879, allocations: 87.56 kB / 0.8098 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006059/0.294, allocations: 2.238 MB / 0.812 GB, free: 184 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00368/0.2977, allocations: 1.185 MB / 0.8131 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.3012, allocations: 1.278 MB / 0.8144 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00567/0.3069, allocations: 4.85 MB / 0.8191 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006868/0.3138, allocations: 5.595 MB / 0.8246 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003689/0.3176, allocations: 2.091 MB / 0.8266 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00498/0.3226, allocations: 2.34 MB / 0.8289 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.3237, allocations: 432 kB / 0.8293 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.3266, allocations: 0.9987 MB / 0.8303 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.3284, allocations: 1.657 MB / 0.8319 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002508/0.331, allocations: 1.922 MB / 0.8338 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006894/0.3379, allocations: 6.517 MB / 0.8401 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3379, allocations: 0 / 0.8401 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.205e-06/0.3379, allocations: 0 / 0.8401 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001753/0.3381, allocations: 0 / 0.8401 GB, free: 3.188 MB / 0.6544 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.008798/0.3469, allocations: 3.456 MB / 0.8435 GB, free: 15.66 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/0.347, allocations: 12.03 kB / 0.8435 GB, free: 15.65 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007669/0.3478, allocations: 454.6 kB / 0.844 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003632/0.3514, allocations: 0.6371 MB / 0.8446 GB, free: 14.55 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005285/0.3567, allocations: 2.041 MB / 0.8466 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.3569, allocations: 218.3 kB / 0.8468 GB, free: 12.24 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009105/0.3578, allocations: 308 kB / 0.8471 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00884/0.3667, allocations: 4.882 MB / 0.8518 GB, free: 6.859 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.91e-05/0.3668, allocations: 19.78 kB / 0.8519 GB, free: 6.84 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.3671, allocations: 124 kB / 0.852 GB, free: 6.719 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004187/0.3675, allocations: 237.7 kB / 0.8522 GB, free: 6.484 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005889/0.3734, allocations: 3.746 MB / 0.8559 GB, free: 2.727 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0223/0.3957, allocations: 21.4 MB / 0.8768 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.3974, allocations: 1.309 MB / 0.878 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.3987, allocations: 1.053 MB / 0.8791 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.08e-05/0.3988, allocations: 9 kB / 0.8791 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.3988, allocations: 51.5 kB / 0.8791 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 3.015e-06/0.3988, allocations: 4 kB / 0.8791 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.02333/0.4222, allocations: 8.645 MB / 0.8876 GB, free: 180 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.4223, allocations: 68.7 kB / 0.8876 GB, free: 100 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.4239, allocations: 1.126 MB / 0.8887 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.424, allocations: 49.64 kB / 0.8888 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009539/0.425, allocations: 1.308 MB / 0.8901 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000529/0.4255, allocations: 481.1 kB / 0.8905 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005091/0.4261, allocations: 291.3 kB / 0.8908 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4262, allocations: 305.1 kB / 0.8911 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.4274, allocations: 0.9096 MB / 0.892 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.429, allocations: 1.33 MB / 0.8933 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/0.432, allocations: 2.426 MB / 0.8956 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.4321, allocations: 4 kB / 0.8957 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005932/0.438, allocations: 3.46 MB / 0.899 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.4381, allocations: 12 kB / 0.899 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.4381, allocations: 16.12 kB / 0.8991 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/0.4412, allocations: 1.183 MB / 0.9002 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009157/0.4421, allocations: 255.6 kB / 0.9005 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/0.4595, allocations: 13.84 MB / 0.914 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.461, allocations: 95.97 kB / 0.9141 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.4611, allocations: 60 kB / 0.9141 GB, free: 4.16 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001849/0.463, allocations: 1.114 MB / 0.9152 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/0.4634, allocations: 162.1 kB / 0.9154 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3711/0.8345, allocations: 3.163 MB / 0.9185 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/0.8346, allocations: 13.88 kB / 0.9185 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.731e-05/0.8346, allocations: 12.39 kB / 0.9185 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.262e-05/0.8347, allocations: 7.25 kB / 0.9185 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.8474, allocations: 6.259 MB / 0.9246 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.8475, allocations: 2.75 kB / 0.9246 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.8481, allocations: 146.9 kB / 0.9247 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002752/0.8508, allocations: 1.076 MB / 0.9258 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.901e-05/0.8509, allocations: 28.39 kB / 0.9258 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01552/0.8665, allocations: 13.53 MB / 0.939 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.8665, allocations: 7.203 kB / 0.939 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006354/0.8729, allocations: 3.154 MB / 0.9421 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.874, allocations: 424.5 kB / 0.9425 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.8742, allocations: 27.81 kB / 0.9425 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009884/0.8752, allocations: 84.53 kB / 0.9426 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005479/0.8758, allocations: 124.9 kB / 0.9427 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.985e-05/0.8759, allocations: 39.34 kB / 0.9428 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001301/0.8772, allocations: 0.7665 MB / 0.9435 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8772, allocations: 0 / 0.9435 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002711/0.8799, allocations: 0.6573 MB / 0.9442 GB, free: 115.1 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005744/0.8857, allocations: 3.742 MB / 0.9478 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004897/0.8906, allocations: 3.147 MB / 0.9509 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.8906, allocations: 1.906 kB / 0.9509 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00305/0.8937, allocations: 1.954 MB / 0.9528 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.8959, allocations: 0.4945 MB / 0.9533 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02603/0.922, allocations: 19.1 MB / 0.9719 GB, free: 100.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/0.9241, allocations: 2.346 MB / 0.9742 GB, free: 98.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001059/0.9252, allocations: 355.8 kB / 0.9746 GB, free: 97.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008434/0.9261, allocations: 1.007 MB / 0.9756 GB, free: 96.86 MB / 0.7325 GB Notification: Performance of SimCode: time 1.222e-06/0.9261, allocations: 0 / 0.9756 GB, free: 96.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07399/1, allocations: 51.49 MB / 1.026 GB, free: 46.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.85, allocations: 8 kB / 1.026 GB, free: 46.07 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)