Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001285/0.001286, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.845/1.845, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0005505/0.0005505, allocations: 20.78 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2808, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03161/0.3125, allocations: 26.66 MB / 0.8133 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.3347, allocations: 12.6 MB / 0.8256 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003622/0.3384, allocations: 115.2 kB / 0.8257 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002831/0.3413, allocations: 0.6288 MB / 0.8263 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008918/0.3502, allocations: 2.118 MB / 0.8284 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005191/0.3554, allocations: 1.216 MB / 0.8296 GB, free: 452 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009123/0.3646, allocations: 4.013 MB / 0.8335 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01763/0.3823, allocations: 8.514 MB / 0.8418 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006565/0.3889, allocations: 2.297 MB / 0.844 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005036/0.3939, allocations: 2.043 MB / 0.846 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001673/0.3956, allocations: 244 kB / 0.8463 GB, free: 15.24 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003869/0.3995, allocations: 0.593 MB / 0.8468 GB, free: 14.64 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003254/0.4028, allocations: 1.758 MB / 0.8486 GB, free: 12.88 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.4049, allocations: 0.9758 MB / 0.8495 GB, free: 11.9 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.4152, allocations: 7.613 MB / 0.8569 GB, free: 4.266 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4153, allocations: 0 / 0.8569 GB, free: 4.266 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.496e-06/0.4153, allocations: 3.938 kB / 0.857 GB, free: 4.262 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003397/0.4156, allocations: 4 kB / 0.857 GB, free: 4.258 MB / 0.67 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.01131/0.427, allocations: 4.173 MB / 0.861 GB, free: 8 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 9.205e-05/0.4271, allocations: 8.031 kB / 0.861 GB, free: 0 / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002365/0.4294, allocations: 0.6163 MB / 0.8616 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007045/0.4365, allocations: 0.9777 MB / 0.8626 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.4471, allocations: 2.81 MB / 0.8653 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003982/0.4476, allocations: 312.5 kB / 0.8656 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001982/0.4496, allocations: 423.9 kB / 0.866 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.4686, allocations: 6.729 MB / 0.8726 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/0.4688, allocations: 19.78 kB / 0.8726 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006705/0.4695, allocations: 184 kB / 0.8728 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/0.4707, allocations: 372 kB / 0.8732 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.4862, allocations: 5.079 MB / 0.8781 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04814/0.5344, allocations: 30.78 MB / 0.9082 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.5368, allocations: 1.393 MB / 0.9095 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.986e-05/0.537, allocations: 13.31 kB / 0.9096 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.537, allocations: 47.86 kB / 0.9096 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.206e-06/0.537, allocations: 0 / 0.9096 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.8186/1.356, allocations: 22.78 MB / 0.9318 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/1.356, allocations: 75.09 kB / 0.9319 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004105/1.36, allocations: 2.035 MB / 0.9339 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005175/1.36, allocations: 61.89 kB / 0.934 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002301/1.363, allocations: 2.009 MB / 0.9359 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001156/1.364, allocations: 0.6823 MB / 0.9366 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/1.364, allocations: 48.94 kB / 0.9366 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001997/1.364, allocations: 396.2 kB / 0.937 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/1.367, allocations: 1.42 MB / 0.9384 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003699/1.371, allocations: 1.997 MB / 0.9404 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/1.374, allocations: 1.73 MB / 0.942 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/1.374, allocations: 4.688 kB / 0.942 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01513/1.389, allocations: 5.632 MB / 0.9475 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/1.389, allocations: 16.52 kB / 0.9476 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.936e-05/1.389, allocations: 16.94 kB / 0.9476 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008498/1.398, allocations: 2.075 MB / 0.9496 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/1.4, allocations: 380 kB / 0.95 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04185/1.442, allocations: 36.26 MB / 0.9854 GB, free: 82.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/1.446, allocations: 131.9 kB / 0.9855 GB, free: 82.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/1.446, allocations: 91.09 kB / 0.9856 GB, free: 82.32 MB / 0.7325 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.003688/1.45, allocations: 1.512 MB / 0.9871 GB, free: 81.37 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007274/1.45, allocations: 285.1 kB / 0.9873 GB, free: 81.22 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/1.461, allocations: 5.191 MB / 0.9924 GB, free: 77.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/1.461, allocations: 23.95 kB / 0.9924 GB, free: 77.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-05/1.461, allocations: 20 kB / 0.9925 GB, free: 77.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.402e-05/1.461, allocations: 7.969 kB / 0.9925 GB, free: 77.72 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/1.477, allocations: 9.666 MB / 1.002 GB, free: 67.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/1.477, allocations: 8 kB / 1.002 GB, free: 67.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/1.478, allocations: 215.6 kB / 1.002 GB, free: 67.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005205/1.483, allocations: 1.843 MB / 1.004 GB, free: 65.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002595/1.484, allocations: 40 kB / 1.004 GB, free: 65.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02885/1.513, allocations: 35.28 MB / 1.038 GB, free: 28.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.513, allocations: 8 kB / 1.038 GB, free: 28.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008466/1.521, allocations: 5.416 MB / 1.044 GB, free: 22.37 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/1.524, allocations: 0.6225 MB / 1.044 GB, free: 21.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/1.525, allocations: 43.98 kB / 1.044 GB, free: 21.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00349/1.529, allocations: 127.8 kB / 1.044 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009705/1.53, allocations: 191.5 kB / 1.045 GB, free: 21.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/1.53, allocations: 60 kB / 1.045 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00362/1.534, allocations: 1.359 MB / 1.046 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.14e-06/1.534, allocations: 3.75 kB / 1.046 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007683/1.542, allocations: 1.045 MB / 1.047 GB, free: 18.9 MB / 0.7325 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.01603/1.558, allocations: 7.685 MB / 1.055 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01683/1.575, allocations: 6.251 MB / 1.061 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.517e-05/1.575, allocations: 0 / 1.061 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01151/1.586, allocations: 4.409 MB / 1.065 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008729/1.595, allocations: 0.8687 MB / 1.066 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1213/1.716, allocations: 36.87 MB / 1.102 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/1.726, allocations: 3.209 MB / 1.105 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005455/1.732, allocations: 0.5198 MB / 1.105 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005886/1.738, allocations: 1.675 MB / 1.107 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of SimCode: time 3.426e-06/1.738, allocations: 0 / 1.107 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2643/2.002, allocations: 85.61 MB / 1.191 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/2.003, allocations: 223.8 kB / 1.191 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.055/7.058, allocations: 4 kB / 1.191 GB, free: 14.21 MB / 0.8731 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: