Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",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.001431/0.001431, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.00148/0.00148, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.841/1.841, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005536/0.0005538, allocations: 13.22 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2839, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005898/0.2898, allocations: 4.494 MB / 0.7918 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004802/0.2946, allocations: 3.104 MB / 0.7948 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.295, allocations: 11.94 kB / 0.7948 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006011/0.2957, allocations: 159.1 kB / 0.795 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.2967, allocations: 306.5 kB / 0.7953 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006828/0.2974, allocations: 195.5 kB / 0.7955 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001011/0.2985, allocations: 0.7009 MB / 0.7962 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.2998, allocations: 0.7316 MB / 0.7969 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004452/0.3002, allocations: 199.2 kB / 0.7971 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005659/0.3008, allocations: 259 kB / 0.7973 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.201e-05/0.3009, allocations: 20 kB / 0.7973 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007181/0.3016, allocations: 231.7 kB / 0.7976 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.3019, allocations: 143.6 kB / 0.7977 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.302, allocations: 105.5 kB / 0.7978 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009635/0.303, allocations: 0.7129 MB / 0.7985 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.303, allocations: 8 kB / 0.7985 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.303, allocations: 0 / 0.7985 GB, free: 416 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.413e-05/0.303, allocations: 0 / 0.7985 GB, free: 416 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001506/0.3045, allocations: 0.7432 MB / 0.7992 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3046, allocations: 8.031 kB / 0.7992 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.3047, allocations: 74.53 kB / 0.7993 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/0.3074, allocations: 0.6975 MB / 0.8 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009191/0.3084, allocations: 478.6 kB / 0.8004 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.3084, allocations: 28.58 kB / 0.8005 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.444e-05/0.3085, allocations: 31.95 kB / 0.8005 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.3101, allocations: 0.8318 MB / 0.8013 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.3102, allocations: 7.922 kB / 0.8013 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.3102, allocations: 12 kB / 0.8013 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/0.3104, allocations: 72.58 kB / 0.8014 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.3124, allocations: 0.9389 MB / 0.8023 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/0.3165, allocations: 2.929 MB / 0.8052 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.3179, allocations: 0.5649 MB / 0.8057 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006761/0.3186, allocations: 317 kB / 0.806 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.3187, allocations: 89.28 kB / 0.8061 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.3188, allocations: 38.7 kB / 0.8061 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/0.3188, allocations: 0 / 0.8061 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32): time 0.01134/0.3301, allocations: 3.65 MB / 0.8097 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.3302, allocations: 81.11 kB / 0.8098 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005914/0.3308, allocations: 404.5 kB / 0.8102 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.3309, allocations: 33.7 kB / 0.8102 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.3311, allocations: 231.9 kB / 0.8104 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.3312, allocations: 110.4 kB / 0.8105 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.3312, allocations: 16 kB / 0.8105 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3314, allocations: 342.8 kB / 0.8109 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008426/0.3322, allocations: 407.6 kB / 0.8113 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000924/0.3332, allocations: 492.8 kB / 0.8117 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009279/0.3341, allocations: 432.3 kB / 0.8121 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3341, allocations: 0 / 0.8121 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005159/0.3393, allocations: 1.733 MB / 0.8138 GB, free: 168 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.3395, allocations: 148 kB / 0.814 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3395, allocations: 0 / 0.814 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003985/0.3435, allocations: 0.9776 MB / 0.8149 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.344, allocations: 135.8 kB / 0.8151 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008519/0.3526, allocations: 6.399 MB / 0.8213 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007936/0.3534, allocations: 111.9 kB / 0.8214 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.3535, allocations: 19.98 kB / 0.8214 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.3535, allocations: 4 kB / 0.8214 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004607/0.3581, allocations: 1.663 MB / 0.8231 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3581, allocations: 4 kB / 0.8231 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/0.3611, allocations: 0.7251 MB / 0.8238 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.3616, allocations: 135.8 kB / 0.8239 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006554/0.3682, allocations: 5.438 MB / 0.8292 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/0.369, allocations: 111.8 kB / 0.8293 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.3691, allocations: 11.98 kB / 0.8293 GB, free: 15.38 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005439/0.3696, allocations: 337.8 kB / 0.8297 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3698, allocations: 35.62 kB / 0.8297 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004819/0.3746, allocations: 1.625 MB / 0.8313 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.3746, allocations: 4 kB / 0.8313 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.3746, allocations: 4 kB / 0.8313 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3746, allocations: 3.984 kB / 0.8313 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/0.3805, allocations: 2.326 MB / 0.8336 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.3805, allocations: 4.094 kB / 0.8336 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.3809, allocations: 91.77 kB / 0.8337 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003584/0.3845, allocations: 0.9153 MB / 0.8345 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.3846, allocations: 7.984 kB / 0.8346 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007676/0.3923, allocations: 6.232 MB / 0.8406 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3923, allocations: 4.031 kB / 0.8406 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/0.397, allocations: 1.636 MB / 0.8422 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.3973, allocations: 184.6 kB / 0.8424 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.3974, allocations: 8 kB / 0.8424 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/0.398, allocations: 91.86 kB / 0.8425 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.3982, allocations: 35.89 kB / 0.8425 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.3982, allocations: 7.984 kB / 0.8426 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004268/0.3986, allocations: 311.1 kB / 0.8429 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3986, allocations: 0 / 0.8429 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001064/0.3997, allocations: 240 kB / 0.8431 GB, free: 0.7266 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004938/0.4047, allocations: 2.205 MB / 0.8452 GB, free: 14.47 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004334/0.409, allocations: 2.252 MB / 0.8474 GB, free: 12.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.409, allocations: 0 / 0.8474 GB, free: 12.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.4105, allocations: 0.8357 MB / 0.8482 GB, free: 11.25 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.4113, allocations: 113.4 kB / 0.8484 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.4218, allocations: 4.592 MB / 0.8528 GB, free: 6.457 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.4225, allocations: 0.9258 MB / 0.8537 GB, free: 5.504 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006887/0.4232, allocations: 163.3 kB / 0.8539 GB, free: 5.344 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.4235, allocations: 139.3 kB / 0.854 GB, free: 5.207 MB / 0.67 GB Notification: Performance of SimCode: time 2.565e-06/0.4235, allocations: 0 / 0.854 GB, free: 5.207 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03964/0.4632, allocations: 18.04 MB / 0.8717 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.4634, allocations: 235.8 kB / 0.8719 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/2.656, allocations: 0 / 0.8719 GB, free: 3.23 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: