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.0007261/0.0007261, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004973/0.004973, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.631/1.631, allocations: 292.7 MB / 0.5503 GB, free: 14.46 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.0005506/0.0005504, allocations: 13.34 kB / 0.6744 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2013, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005426/0.2068, allocations: 4.698 MB / 0.7926 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004641/0.2114, allocations: 3.313 MB / 0.7958 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.2117, allocations: 7.938 kB / 0.7958 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006148/0.2124, allocations: 167.1 kB / 0.796 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009816/0.2134, allocations: 358.4 kB / 0.7963 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.214, allocations: 239.5 kB / 0.7966 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.2151, allocations: 0.8569 MB / 0.7974 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.2163, allocations: 0.8294 MB / 0.7982 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.2167, allocations: 219.1 kB / 0.7984 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.2171, allocations: 267 kB / 0.7987 GB, free: 500 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.2172, allocations: 16 kB / 0.7987 GB, free: 484 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005185/0.2177, allocations: 327.4 kB / 0.799 GB, free: 156 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.2178, allocations: 147.6 kB / 0.7991 GB, free: 8 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.2181, allocations: 224.7 kB / 0.7994 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008109/0.2189, allocations: 0.7982 MB / 0.8001 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2189, allocations: 4 kB / 0.8001 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2189, allocations: 0 / 0.8001 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.2189, allocations: 0 / 0.8001 GB, free: 14.98 MB / 0.6231 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.001256/0.2202, allocations: 0.7169 MB / 0.8008 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2203, allocations: 15.97 kB / 0.8009 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.2204, allocations: 74.7 kB / 0.8009 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/0.2231, allocations: 0.675 MB / 0.8016 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006641/0.2238, allocations: 443.9 kB / 0.802 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.2238, allocations: 25.02 kB / 0.802 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.2239, allocations: 35.94 kB / 0.8021 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.2255, allocations: 0.8356 MB / 0.8029 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.2255, allocations: 7.984 kB / 0.8029 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.2256, allocations: 16 kB / 0.8029 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.2257, allocations: 56.53 kB / 0.803 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.2279, allocations: 0.9389 MB / 0.8039 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004217/0.2321, allocations: 2.863 MB / 0.8067 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.2338, allocations: 0.5589 MB / 0.8072 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007501/0.2346, allocations: 316.6 kB / 0.8075 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.2347, allocations: 85.11 kB / 0.8076 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.2347, allocations: 38.5 kB / 0.8076 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.2347, allocations: 0 / 0.8076 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32): time 0.01247/0.2472, allocations: 3.539 MB / 0.8111 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.2473, allocations: 55.41 kB / 0.8111 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/0.2478, allocations: 396.5 kB / 0.8115 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.2478, allocations: 29.7 kB / 0.8116 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.248, allocations: 231.9 kB / 0.8118 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2481, allocations: 110.4 kB / 0.8119 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.2482, allocations: 41.64 kB / 0.8119 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2483, allocations: 346.8 kB / 0.8122 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009471/0.2493, allocations: 391.7 kB / 0.8126 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009663/0.2503, allocations: 472.1 kB / 0.8131 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.2522, allocations: 0.8444 MB / 0.8139 GB, free: 356 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.2522, allocations: 4 kB / 0.8139 GB, free: 352 kB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005379/0.2576, allocations: 1.677 MB / 0.8155 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.2577, allocations: 158.5 kB / 0.8157 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2577, allocations: 4 kB / 0.8157 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004187/0.2619, allocations: 0.923 MB / 0.8166 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.2625, allocations: 135.8 kB / 0.8167 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008063/0.2706, allocations: 6.221 MB / 0.8228 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/0.2714, allocations: 115.9 kB / 0.8229 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.2715, allocations: 15.98 kB / 0.8229 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.2715, allocations: 4 kB / 0.8229 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004751/0.2763, allocations: 1.617 MB / 0.8245 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2763, allocations: 3.938 kB / 0.8245 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/0.2792, allocations: 0.6823 MB / 0.8252 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.2798, allocations: 135.8 kB / 0.8253 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/0.285, allocations: 5.332 MB / 0.8305 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/0.2857, allocations: 99.84 kB / 0.8306 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.2858, allocations: 23.92 kB / 0.8306 GB, free: 14.29 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003719/0.2861, allocations: 325 kB / 0.8309 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-05/0.2863, allocations: 43.56 kB / 0.831 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004949/0.2912, allocations: 1.583 MB / 0.8325 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2912, allocations: 7.938 kB / 0.8325 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2912, allocations: 0 / 0.8325 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2912, allocations: 0 / 0.8325 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005599/0.2968, allocations: 2.256 MB / 0.8347 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2969, allocations: 0 / 0.8347 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.2973, allocations: 83.84 kB / 0.8348 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003674/0.3009, allocations: 0.8647 MB / 0.8357 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.301, allocations: 11.98 kB / 0.8357 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006857/0.3079, allocations: 6.061 MB / 0.8416 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3079, allocations: 4.031 kB / 0.8416 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004608/0.3125, allocations: 1.589 MB / 0.8431 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.3128, allocations: 172.6 kB / 0.8433 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.069e-05/0.3129, allocations: 11.94 kB / 0.8433 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/0.3135, allocations: 91.86 kB / 0.8434 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.3136, allocations: 35.88 kB / 0.8434 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.3137, allocations: 15.98 kB / 0.8435 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003327/0.314, allocations: 299.1 kB / 0.8437 GB, free: 288 kB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.314, allocations: 0 / 0.8437 GB, free: 288 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008777/0.3149, allocations: 236 kB / 0.844 GB, free: 52 kB / 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004909/0.3198, allocations: 2.145 MB / 0.8461 GB, free: 13.86 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004156/0.324, allocations: 2.197 MB / 0.8482 GB, free: 11.56 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.324, allocations: 4 kB / 0.8482 GB, free: 11.55 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.3254, allocations: 0.8123 MB / 0.849 GB, free: 10.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007523/0.3262, allocations: 115.9 kB / 0.8491 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/0.3422, allocations: 7.254 MB / 0.8562 GB, free: 3.168 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.3428, allocations: 0.9296 MB / 0.8571 GB, free: 2.211 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005605/0.3434, allocations: 167.1 kB / 0.8573 GB, free: 2.051 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.3436, allocations: 135.4 kB / 0.8574 GB, free: 1.918 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/0.3436, allocations: 0 / 0.8574 GB, free: 1.918 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08633/0.43, allocations: 17.33 MB / 0.8743 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.4302, allocations: 256.1 kB / 0.8746 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/2.806, allocations: 4 kB / 0.8746 GB, free: 0.6133 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/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)