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.001072/0.001072, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001186/0.001186, allocations: 189.5 kB / 16.25 MB, free: 6.625 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.397/1.397, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.607/1.607, allocations: 292.3 MB / 0.5486 GB, free: 13.65 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.001385/0.001385, allocations: 68.58 kB / 0.6711 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1795, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02022/0.1997, allocations: 20.03 MB / 0.8025 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009315/0.2091, allocations: 6.454 MB / 0.8088 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.2107, allocations: 75.62 kB / 0.8089 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004974/0.2157, allocations: 2.094 MB / 0.811 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.2185, allocations: 1.085 MB / 0.812 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.2212, allocations: 1.173 MB / 0.8132 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005535/0.2268, allocations: 4.862 MB / 0.8179 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008512/0.2353, allocations: 6.756 MB / 0.8245 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.2381, allocations: 2.118 MB / 0.8266 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/0.2413, allocations: 2.454 MB / 0.829 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.2424, allocations: 428 kB / 0.8294 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.2448, allocations: 1.002 MB / 0.8304 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002233/0.247, allocations: 1.668 MB / 0.832 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002977/0.25, allocations: 1.914 MB / 0.8339 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005421/0.2554, allocations: 6.524 MB / 0.8402 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2555, allocations: 0 / 0.8402 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2555, allocations: 0 / 0.8402 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.921e-05/0.2556, allocations: 4 kB / 0.8402 GB, free: 2.941 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.00576/0.2613, allocations: 3.444 MB / 0.8436 GB, free: 15.43 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2614, allocations: 12.03 kB / 0.8436 GB, free: 15.42 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005148/0.2619, allocations: 458.5 kB / 0.844 GB, free: 14.96 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/0.265, allocations: 0.6411 MB / 0.8447 GB, free: 14.32 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/0.2677, allocations: 1.939 MB / 0.8466 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.2679, allocations: 222.3 kB / 0.8468 GB, free: 12.1 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003931/0.2683, allocations: 296 kB / 0.8471 GB, free: 11.81 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006781/0.2751, allocations: 4.89 MB / 0.8518 GB, free: 6.719 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.129e-05/0.2752, allocations: 19.84 kB / 0.8519 GB, free: 6.699 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002786/0.2755, allocations: 124 kB / 0.852 GB, free: 6.578 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003869/0.2759, allocations: 229.7 kB / 0.8522 GB, free: 6.352 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005228/0.2811, allocations: 3.75 MB / 0.8559 GB, free: 2.59 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/0.2992, allocations: 21.57 MB / 0.8769 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.3008, allocations: 1.312 MB / 0.8782 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.302, allocations: 1.046 MB / 0.8792 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.339e-05/0.3021, allocations: 12.98 kB / 0.8792 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.3022, allocations: 55.56 kB / 0.8793 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 2.755e-06/0.3022, allocations: 0 / 0.8793 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.02173/0.3239, allocations: 8.645 MB / 0.8877 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.324, allocations: 64.72 kB / 0.8878 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.3252, allocations: 1.138 MB / 0.8889 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.752e-05/0.3253, allocations: 45.7 kB / 0.8889 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006819/0.326, allocations: 1.296 MB / 0.8902 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.3263, allocations: 485 kB / 0.8907 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004004/0.3267, allocations: 291.3 kB / 0.891 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.3268, allocations: 309.1 kB / 0.8912 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.3279, allocations: 0.9134 MB / 0.8921 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.3293, allocations: 1.326 MB / 0.8934 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.3319, allocations: 2.433 MB / 0.8958 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3319, allocations: 4 kB / 0.8958 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00527/0.3372, allocations: 3.46 MB / 0.8992 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3372, allocations: 8 kB / 0.8992 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.3373, allocations: 12 kB / 0.8992 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/0.3402, allocations: 1.197 MB / 0.9004 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/0.3411, allocations: 255.5 kB / 0.9006 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/0.3568, allocations: 13.85 MB / 0.9142 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.358, allocations: 91.97 kB / 0.9142 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.3581, allocations: 67.98 kB / 0.9143 GB, free: 3.812 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.001572/0.3597, allocations: 1.114 MB / 0.9154 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/0.36, allocations: 166 kB / 0.9156 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3131/0.6732, allocations: 3.154 MB / 0.9186 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.6732, allocations: 13.91 kB / 0.9186 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.483e-05/0.6733, allocations: 16.44 kB / 0.9187 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.6733, allocations: 8.047 kB / 0.9187 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008819/0.6821, allocations: 6.247 MB / 0.9248 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.6822, allocations: 3 kB / 0.9248 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.6827, allocations: 147.2 kB / 0.9249 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002511/0.6852, allocations: 1.081 MB / 0.926 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/0.6853, allocations: 27.16 kB / 0.926 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.6985, allocations: 13.54 MB / 0.9392 GB, free: 117.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.6985, allocations: 5.188 kB / 0.9392 GB, free: 117.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005203/0.7037, allocations: 3.162 MB / 0.9423 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000656/0.7044, allocations: 424.4 kB / 0.9427 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.7047, allocations: 27.7 kB / 0.9427 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008199/0.7055, allocations: 83.45 kB / 0.9428 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.7058, allocations: 125.9 kB / 0.9429 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.702e-05/0.7059, allocations: 37.84 kB / 0.943 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001004/0.7069, allocations: 0.7697 MB / 0.9437 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7069, allocations: 0 / 0.9437 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001771/0.7087, allocations: 0.657 MB / 0.9444 GB, free: 115.5 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.004546/0.7132, allocations: 3.743 MB / 0.948 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004743/0.718, allocations: 3.639 MB / 0.9516 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.718, allocations: 1.156 kB / 0.9516 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.7204, allocations: 1.95 MB / 0.9535 GB, free: 111.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.7223, allocations: 0.5027 MB / 0.954 GB, free: 111 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/0.7464, allocations: 21.36 MB / 0.9748 GB, free: 97.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/0.7482, allocations: 2.337 MB / 0.9771 GB, free: 95.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008686/0.7491, allocations: 359.6 kB / 0.9775 GB, free: 94.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/0.7499, allocations: 1.006 MB / 0.9784 GB, free: 93.72 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.7499, allocations: 0 / 0.9784 GB, free: 93.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.265/4.014, allocations: 51.52 MB / 1.029 GB, free: 42.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/4.015, allocations: 245.2 kB / 1.029 GB, free: 42.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.641/7.656, allocations: 4.062 kB / 1.029 GB, free: 42.65 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)