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_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_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.597/1.597, allocations: 288.4 MB / 303.6 MB, free: 8.051 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.0009863/0.0009864, allocations: 184.5 kB / 372.2 MB, free: 10.14 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.29/1.29, allocations: 205.4 MB / 0.631 GB, free: 9.91 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.0007893/0.000789, allocations: 98.23 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003251, allocations: 13.31 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02086/0.1652, allocations: 30.19 MB / 1.01 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.1821, allocations: 14.01 MB / 1.023 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.1842, allocations: 135.2 kB / 1.023 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.186, allocations: 0.6975 MB / 1.024 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005229/0.1912, allocations: 2.496 MB / 1.027 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.1946, allocations: 1.491 MB / 1.028 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008776/0.2034, allocations: 9.812 MB / 1.038 GB, free: 256 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01376/0.2172, allocations: 11.36 MB / 1.049 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003919/0.2211, allocations: 2.942 MB / 1.052 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.2255, allocations: 3.383 MB / 1.055 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008923/0.2264, allocations: 296 kB / 1.055 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.2292, allocations: 1.489 MB / 1.057 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.2311, allocations: 2.268 MB / 1.059 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002321/0.2334, allocations: 2.661 MB / 1.061 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.2989/0.5324, allocations: 9.191 MB / 1.07 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5324, allocations: 3.078 kB / 1.07 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5324, allocations: 0 / 1.07 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003243/0.5328, allocations: 0.75 kB / 1.07 GB, free: 29.05 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01043/0.5432, allocations: 4.834 MB / 1.075 GB, free: 27.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5432, allocations: 9.625 kB / 1.075 GB, free: 27.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001653/0.5449, allocations: 0.7318 MB / 1.076 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00554/0.5505, allocations: 1.142 MB / 1.077 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005301/0.5558, allocations: 3.32 MB / 1.08 GB, free: 25.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002455/0.556, allocations: 375.2 kB / 1.081 GB, free: 25.97 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007151/0.5567, allocations: 0.4907 MB / 1.081 GB, free: 25.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.5677, allocations: 7.962 MB / 1.089 GB, free: 25.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.5679, allocations: 24.27 kB / 1.089 GB, free: 25.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004513/0.5683, allocations: 213 kB / 1.089 GB, free: 25.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000909/0.5692, allocations: 438 kB / 1.09 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008059/0.5773, allocations: 6.05 MB / 1.095 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02438/0.6017, allocations: 35.21 MB / 1.13 GB, free: 19.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.6039, allocations: 2.019 MB / 1.132 GB, free: 19.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.6059, allocations: 1.847 MB / 1.134 GB, free: 18.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.606, allocations: 19.91 kB / 1.134 GB, free: 18.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.6061, allocations: 57.28 kB / 1.134 GB, free: 18.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=171): time 3.957e-06/0.6061, allocations: 1.875 kB / 1.134 GB, free: 18.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=276): time 0.128/0.7341, allocations: 39 MB / 1.172 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.7342, allocations: 85.56 kB / 1.172 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.7367, allocations: 2.254 MB / 1.174 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.7369, allocations: 75.78 kB / 1.174 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.7381, allocations: 2.279 MB / 1.176 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006025/0.7387, allocations: 0.9312 MB / 1.177 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.7388, allocations: 60 kB / 1.177 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.739, allocations: 424.1 kB / 1.178 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/0.7414, allocations: 1.962 MB / 1.18 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002673/0.7441, allocations: 2.59 MB / 1.182 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005491/0.7496, allocations: 4.919 MB / 1.187 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.7496, allocations: 4 kB / 1.187 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01212/0.7617, allocations: 7.728 MB / 1.194 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.7617, allocations: 12.22 kB / 1.195 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.7618, allocations: 20 kB / 1.195 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008/0.7698, allocations: 3.208 MB / 1.198 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.7711, allocations: 401.2 kB / 1.198 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0354/0.8065, allocations: 31.12 MB / 1.228 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.8087, allocations: 163.8 kB / 1.229 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.8089, allocations: 108.2 kB / 1.229 GB, free: 15.09 MB / 0.7761 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002497/0.8114, allocations: 1.793 MB / 1.23 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003787/0.8118, allocations: 336 kB / 1.231 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/0.8236, allocations: 7.337 MB / 1.238 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.8236, allocations: 28 kB / 1.238 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-05/0.8237, allocations: 32 kB / 1.238 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/0.8237, allocations: 15.94 kB / 1.238 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01802/0.8417, allocations: 12.91 MB / 1.251 GB, free: 8.711 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.8417, allocations: 4 kB / 1.251 GB, free: 8.707 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00077/0.8425, allocations: 228.7 kB / 1.251 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006967/0.8495, allocations: 2.848 MB / 1.254 GB, free: 5.633 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.8497, allocations: 55.98 kB / 1.254 GB, free: 5.578 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03539/0.885, allocations: 29.9 MB / 1.283 GB, free: 6.938 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.8851, allocations: 15.41 kB / 1.283 GB, free: 6.926 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/0.8959, allocations: 6.86 MB / 1.29 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/0.8972, allocations: 0.7859 MB / 1.29 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/0.8975, allocations: 55.98 kB / 1.29 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.899, allocations: 167.8 kB / 1.291 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005095/0.8995, allocations: 247.4 kB / 1.291 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/0.8997, allocations: 81.84 kB / 1.291 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001795/0.9015, allocations: 1.502 MB / 1.292 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9015, allocations: 0 / 1.292 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002902/0.9044, allocations: 1.359 MB / 1.294 GB, free: 11.76 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01078/0.9152, allocations: 7.488 MB / 1.301 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.009624/0.9248, allocations: 6.917 MB / 1.308 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9248, allocations: 0 / 1.308 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006244/0.9311, allocations: 4.412 MB / 1.312 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005437/0.9365, allocations: 1.013 MB / 1.313 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04308/0.9796, allocations: 32.3 MB / 1.345 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003397/0.9831, allocations: 3.643 MB / 1.348 GB, free: 2.484 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001625/0.9847, allocations: 0.5634 MB / 1.349 GB, free: 1.918 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001835/0.9865, allocations: 1.968 MB / 1.351 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of SimCode: time 4.11e-07/0.9865, allocations: 0 / 1.351 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.087/5.074, allocations: 108 MB / 1.456 GB, free: 333.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/5.074, allocations: 239.8 kB / 1.456 GB, free: 333.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.673/14.75, allocations: 0 / 1.456 GB, free: 333.6 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)