Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.716/1.716, allocations: 288.4 MB / 303.3 MB, free: 8.086 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.001101/0.001101, allocations: 187.2 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 0.6307 GB, free: 9.902 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.0007561/0.000756, allocations: 94.28 kB / 0.744 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005532/0.0005533, allocations: 12.09 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2758, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02844/0.3043, allocations: 34.47 MB / 1.013 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01955/0.3239, allocations: 10.59 MB / 1.024 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004057/0.328, allocations: 131.2 kB / 1.024 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.3311, allocations: 0.7596 MB / 1.025 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006314/0.3374, allocations: 1.791 MB / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005095/0.3425, allocations: 1.292 MB / 1.028 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01287/0.3554, allocations: 10.36 MB / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02275/0.3782, allocations: 12.66 MB / 1.05 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006982/0.3853, allocations: 2.864 MB / 1.053 GB, free: 400 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007785/0.3931, allocations: 3.773 MB / 1.057 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001882/0.395, allocations: 344 kB / 1.057 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003976/0.399, allocations: 0.7103 MB / 1.058 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004701/0.4037, allocations: 2.514 MB / 1.06 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003932/0.4077, allocations: 1.198 MB / 1.061 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.6014/1.009, allocations: 10.17 MB / 1.071 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.446e-05/1.009, allocations: 1.406 kB / 1.071 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.208e-06/1.009, allocations: 0 / 1.071 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005388/1.01, allocations: 3.516 kB / 1.071 GB, free: 27.91 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01897/1.029, allocations: 5.148 MB / 1.076 GB, free: 25.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.278e-05/1.029, allocations: 9.281 kB / 1.076 GB, free: 25.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004932/1.034, allocations: 0.8324 MB / 1.077 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009434/1.043, allocations: 1.069 MB / 1.078 GB, free: 25.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/1.055, allocations: 3.35 MB / 1.081 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007628/1.056, allocations: 421.6 kB / 1.082 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003844/1.06, allocations: 0.5404 MB / 1.082 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03324/1.093, allocations: 9.329 MB / 1.091 GB, free: 23.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003407/1.093, allocations: 25.12 kB / 1.091 GB, free: 23.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002871/1.096, allocations: 244.8 kB / 1.092 GB, free: 23.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008564/1.097, allocations: 421.3 kB / 1.092 GB, free: 23.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/1.118, allocations: 7.08 MB / 1.099 GB, free: 23.72 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05519/1.174, allocations: 41.35 MB / 1.139 GB, free: 11.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005246/1.179, allocations: 3.097 MB / 1.142 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003127/1.182, allocations: 2.122 MB / 1.144 GB, free: 9.066 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/1.182, allocations: 23.72 kB / 1.144 GB, free: 9.066 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.911e-05/1.182, allocations: 68.2 kB / 1.144 GB, free: 9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 4.809e-06/1.182, allocations: 0 / 1.144 GB, free: 9 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.04262/1.225, allocations: 10.45 MB / 1.155 GB, free: 3.125 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/1.225, allocations: 76.59 kB / 1.155 GB, free: 3.059 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005666/1.231, allocations: 1.986 MB / 1.157 GB, free: 1.969 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007636/1.231, allocations: 61.23 kB / 1.157 GB, free: 1.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003123/1.235, allocations: 2.403 MB / 1.159 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001566/1.236, allocations: 0.7248 MB / 1.16 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/1.237, allocations: 53.06 kB / 1.16 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003327/1.237, allocations: 410.8 kB / 1.16 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003761/1.241, allocations: 1.366 MB / 1.162 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004326/1.245, allocations: 2.094 MB / 1.164 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003994/1.249, allocations: 1.731 MB / 1.165 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/1.249, allocations: 7.375 kB / 1.165 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01004/1.259, allocations: 5.039 MB / 1.17 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/1.259, allocations: 19.22 kB / 1.17 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/1.259, allocations: 22.22 kB / 1.17 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003688/1.263, allocations: 1.561 MB / 1.172 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/1.265, allocations: 460.3 kB / 1.172 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02323/1.288, allocations: 17.06 MB / 1.189 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/1.291, allocations: 147.9 kB / 1.189 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005792/1.292, allocations: 112 kB / 1.189 GB, free: 6.934 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004689/1.297, allocations: 1.935 MB / 1.191 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008657/1.298, allocations: 284.7 kB / 1.191 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007599/1.305, allocations: 4.437 MB / 1.196 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/1.305, allocations: 28 kB / 1.196 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.283e-05/1.305, allocations: 16 kB / 1.196 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/1.305, allocations: 7.969 kB / 1.196 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01832/1.324, allocations: 9.647 MB / 1.205 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.324, allocations: 4 kB / 1.205 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.325, allocations: 241.4 kB / 1.205 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003605/1.328, allocations: 1.418 MB / 1.207 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/1.329, allocations: 40 kB / 1.207 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/1.35, allocations: 17.09 MB / 1.223 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.351, allocations: 7.188 kB / 1.223 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008118/1.359, allocations: 4.52 MB / 1.228 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/1.361, allocations: 0.6343 MB / 1.228 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007714/1.362, allocations: 39.98 kB / 1.229 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/1.363, allocations: 115.9 kB / 1.229 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000534/1.364, allocations: 181.5 kB / 1.229 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.364, allocations: 60 kB / 1.229 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002142/1.366, allocations: 1.295 MB / 1.23 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.573e-06/1.366, allocations: 0 / 1.23 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004508/1.37, allocations: 1.143 MB / 1.231 GB, free: 11.32 MB / 0.7761 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008287/1.379, allocations: 5.143 MB / 1.236 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.008714/1.388, allocations: 4.671 MB / 1.241 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.388, allocations: 8.062 kB / 1.241 GB, free: 1.504 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.005177/1.393, allocations: 2.923 MB / 1.244 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004709/1.397, allocations: 0.8369 MB / 1.244 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05288/1.45, allocations: 26.18 MB / 1.27 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005788/1.456, allocations: 3.69 MB / 1.274 GB, free: 14.36 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002401/1.459, allocations: 0.5518 MB / 1.274 GB, free: 13.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002464/1.461, allocations: 1.953 MB / 1.276 GB, free: 11.85 MB / 0.823 GB Notification: Performance of SimCode: time 1.393e-06/1.461, allocations: 7.938 kB / 1.276 GB, free: 11.84 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1484/1.61, allocations: 82.34 MB / 1.357 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003205/1.61, allocations: 246.5 kB / 1.357 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.323/5.933, allocations: 0 / 1.357 GB, free: 10.25 MB / 0.9011 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)