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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.737/1.737, allocations: 288.4 MB / 303.3 MB, free: 8.176 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.001196/0.001196, allocations: 176.5 kB / 372 MB, free: 10.29 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.61/1.61, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007246/0.0007246, allocations: 102.2 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004299, allocations: 15.98 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2006, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02135/0.222, allocations: 27.87 MB / 1.007 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.2409, allocations: 12.81 MB / 1.019 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003519/0.2444, allocations: 123.2 kB / 1.02 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.2468, allocations: 0.6355 MB / 1.02 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00806/0.2549, allocations: 2.195 MB / 1.022 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004723/0.2597, allocations: 1.197 MB / 1.023 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01101/0.2707, allocations: 8.361 MB / 1.032 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01481/0.2855, allocations: 8.522 MB / 1.04 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006152/0.2917, allocations: 2.549 MB / 1.042 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006778/0.2986, allocations: 2.853 MB / 1.045 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001502/0.3001, allocations: 247.9 kB / 1.045 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.304, allocations: 0.6984 MB / 1.046 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003554/0.3076, allocations: 1.898 MB / 1.048 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00287/0.3105, allocations: 0.968 MB / 1.049 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.3217, allocations: 7.733 MB / 1.056 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.3218, allocations: 0 / 1.056 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.458e-06/0.3218, allocations: 0 / 1.056 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003237/0.3221, allocations: 4 kB / 1.056 GB, free: 12.62 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01343/0.3355, allocations: 4.193 MB / 1.061 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.81e-05/0.3356, allocations: 8.031 kB / 1.061 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003073/0.3387, allocations: 0.6201 MB / 1.061 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006916/0.3457, allocations: 1.005 MB / 1.062 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008415/0.3541, allocations: 2.81 MB / 1.065 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.3545, allocations: 316.5 kB / 1.065 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001941/0.3565, allocations: 427.9 kB / 1.066 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4808/0.8373, allocations: 6.743 MB / 1.072 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001715/0.8375, allocations: 25.8 kB / 1.072 GB, free: 78.53 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006871/0.8382, allocations: 182.8 kB / 1.072 GB, free: 78.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001026/0.8393, allocations: 373 kB / 1.073 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.8528, allocations: 5.084 MB / 1.078 GB, free: 76.56 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03488/0.8877, allocations: 30.76 MB / 1.108 GB, free: 52.17 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.8896, allocations: 1.38 MB / 1.109 GB, free: 51.45 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.8911, allocations: 1.324 MB / 1.11 GB, free: 50.78 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.897e-05/0.8912, allocations: 20.62 kB / 1.11 GB, free: 50.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.8913, allocations: 54.38 kB / 1.11 GB, free: 50.72 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 3.477e-06/0.8913, allocations: 1.219 kB / 1.11 GB, free: 50.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.0829/0.9742, allocations: 22.79 MB / 1.133 GB, free: 40.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.9743, allocations: 71.84 kB / 1.133 GB, free: 40.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.9768, allocations: 2.036 MB / 1.135 GB, free: 39.36 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003124/0.9772, allocations: 60.95 kB / 1.135 GB, free: 39.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.9783, allocations: 2.008 MB / 1.137 GB, free: 37.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006189/0.9789, allocations: 0.6769 MB / 1.137 GB, free: 36.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.9791, allocations: 47.31 kB / 1.138 GB, free: 36.92 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9792, allocations: 401.1 kB / 1.138 GB, free: 36.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.981, allocations: 1.418 MB / 1.139 GB, free: 35.78 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.9831, allocations: 2.001 MB / 1.141 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/0.985, allocations: 1.724 MB / 1.143 GB, free: 32.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.9851, allocations: 12 kB / 1.143 GB, free: 32.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009831/0.9949, allocations: 5.636 MB / 1.148 GB, free: 26.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.995, allocations: 12 kB / 1.148 GB, free: 26.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.995, allocations: 16 kB / 1.148 GB, free: 26.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006114/1.001, allocations: 2.076 MB / 1.15 GB, free: 24.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/1.003, allocations: 375.4 kB / 1.151 GB, free: 24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03191/1.035, allocations: 35.5 MB / 1.186 GB, free: 2.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/1.037, allocations: 127.9 kB / 1.186 GB, free: 2.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/1.038, allocations: 92 kB / 1.186 GB, free: 1.914 MB / 0.698 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003158/1.041, allocations: 1.509 MB / 1.187 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007135/1.042, allocations: 280.7 kB / 1.187 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/1.052, allocations: 5.189 MB / 1.193 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/1.052, allocations: 27.95 kB / 1.193 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-05/1.053, allocations: 24 kB / 1.193 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.668e-05/1.053, allocations: 7.969 kB / 1.193 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/1.073, allocations: 9.663 MB / 1.202 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.073, allocations: 8 kB / 1.202 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/1.074, allocations: 216.2 kB / 1.202 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00606/1.08, allocations: 1.845 MB / 1.204 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/1.08, allocations: 40 kB / 1.204 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0382/1.118, allocations: 34.5 MB / 1.238 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.699e-06/1.118, allocations: 11.94 kB / 1.238 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.129, allocations: 4.899 MB / 1.243 GB, free: 4.891 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/1.131, allocations: 0.6148 MB / 1.243 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004954/1.131, allocations: 43.98 kB / 1.243 GB, free: 4.211 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/1.133, allocations: 131.8 kB / 1.243 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005357/1.133, allocations: 186.1 kB / 1.244 GB, free: 3.898 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.133, allocations: 56 kB / 1.244 GB, free: 3.844 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002035/1.135, allocations: 1.363 MB / 1.245 GB, free: 2.473 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.71e-07/1.135, allocations: 3.938 kB / 1.245 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00393/1.139, allocations: 1.035 MB / 1.246 GB, free: 1.434 MB / 0.7605 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009606/1.149, allocations: 5.513 MB / 1.251 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01061/1.16, allocations: 6.242 MB / 1.257 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.16, allocations: 8.062 kB / 1.257 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.007624/1.167, allocations: 4.402 MB / 1.262 GB, free: 0.6562 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006175/1.174, allocations: 0.9068 MB / 1.263 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05014/1.224, allocations: 25.39 MB / 1.287 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004204/1.228, allocations: 3.123 MB / 1.29 GB, free: 1.613 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002228/1.23, allocations: 0.5159 MB / 1.291 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001993/1.232, allocations: 1.679 MB / 1.293 GB, free: 15.41 MB / 0.823 GB Notification: Performance of SimCode: time 8.02e-07/1.232, allocations: 0 / 1.293 GB, free: 15.41 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1506/1.383, allocations: 85.6 MB / 1.376 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/1.383, allocations: 245.1 kB / 1.376 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.577/5.96, allocations: 0 / 1.376 GB, free: 10.48 MB / 0.9011 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)