Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.643/1.643, allocations: 287.4 MB / 302.5 MB, free: 8.207 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.0009503/0.00095, allocations: 181.6 kB / 371.1 MB, free: 10.82 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.237/1.237, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.000711/0.000711, allocations: 98.28 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 16.8 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1487, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.003703/0.1524, allocations: 4.49 MB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002848/0.1553, allocations: 3.104 MB / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.1555, allocations: 7.938 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.1559, allocations: 163 kB / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.1564, allocations: 315.2 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.1567, allocations: 187.6 kB / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.1572, allocations: 0.7164 MB / 0.9875 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008397/0.1581, allocations: 0.8028 MB / 0.9883 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1582, allocations: 195.2 kB / 0.9885 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.1585, allocations: 263 kB / 0.9887 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.1585, allocations: 20 kB / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.1589, allocations: 231.7 kB / 0.989 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.159, allocations: 139.6 kB / 0.9891 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.159, allocations: 105.5 kB / 0.9892 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.1595, allocations: 0.713 MB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1595, allocations: 0 / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.1595, allocations: 3.984 kB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1595, allocations: 0 / 0.9899 GB, free: 16.59 MB / 0.6198 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.0008905/0.1604, allocations: 0.7403 MB / 0.9906 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.1604, allocations: 12.03 kB / 0.9906 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.1605, allocations: 78.7 kB / 0.9907 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/0.1629, allocations: 0.6984 MB / 0.9914 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.1634, allocations: 495.7 kB / 0.9919 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1635, allocations: 21.03 kB / 0.9919 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.1635, allocations: 35.92 kB / 0.9919 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.1647, allocations: 0.8434 MB / 0.9927 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1648, allocations: 0 / 0.9927 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.1648, allocations: 12 kB / 0.9927 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001675/0.165, allocations: 72.56 kB / 0.9928 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.1666, allocations: 0.939 MB / 0.9937 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/0.1695, allocations: 2.918 MB / 0.9966 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.1708, allocations: 0.5683 MB / 0.9971 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006045/0.1714, allocations: 316.6 kB / 0.9974 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.221e-05/0.1715, allocations: 85.11 kB / 0.9975 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.1715, allocations: 38.56 kB / 0.9976 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.1715, allocations: 0 / 0.9976 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.01011/0.1816, allocations: 3.653 MB / 1.001 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.1817, allocations: 85.11 kB / 1.001 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.182, allocations: 416.3 kB / 1.002 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.182, allocations: 29.7 kB / 1.002 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.1821, allocations: 231.9 kB / 1.002 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.1822, allocations: 118.4 kB / 1.002 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.1822, allocations: 4 kB / 1.002 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.1823, allocations: 350.8 kB / 1.002 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00081/0.1831, allocations: 395.7 kB / 1.003 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000777/0.1839, allocations: 485 kB / 1.003 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.1854, allocations: 0.866 MB / 1.004 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1854, allocations: 8 kB / 1.004 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004686/0.1901, allocations: 1.724 MB / 1.006 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.551e-05/0.1902, allocations: 148 kB / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1902, allocations: 4 kB / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003912/0.1941, allocations: 0.9777 MB / 1.007 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.1947, allocations: 127.8 kB / 1.007 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/0.2019, allocations: 6.426 MB / 1.013 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007048/0.2027, allocations: 119.8 kB / 1.013 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.2027, allocations: 12 kB / 1.013 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.2027, allocations: 7.984 kB / 1.013 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004381/0.2071, allocations: 1.663 MB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.2071, allocations: 0 / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003752/0.2109, allocations: 0.7213 MB / 1.016 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.2116, allocations: 139.8 kB / 1.016 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005495/0.2171, allocations: 5.429 MB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006401/0.2177, allocations: 107.9 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.2178, allocations: 24.05 kB / 1.021 GB, free: 15.06 MB / 0.6511 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.0003018/0.2181, allocations: 321 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.105e-05/0.2182, allocations: 39.47 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004509/0.2227, allocations: 1.625 MB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2227, allocations: 7.984 kB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2227, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2227, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005271/0.228, allocations: 2.338 MB / 1.025 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.228, allocations: 4 kB / 1.025 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.2284, allocations: 83.89 kB / 1.026 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003594/0.232, allocations: 0.9192 MB / 1.026 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.2321, allocations: 8 kB / 1.026 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006695/0.2388, allocations: 6.231 MB / 1.032 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.2388, allocations: 3.984 kB / 1.033 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00459/0.2434, allocations: 1.635 MB / 1.034 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.2437, allocations: 180.6 kB / 1.034 GB, free: 1.102 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.26e-05/0.2438, allocations: 7.938 kB / 1.034 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.2444, allocations: 99.84 kB / 1.034 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.2446, allocations: 23.97 kB / 1.034 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.2446, allocations: 15.98 kB / 1.034 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003601/0.245, allocations: 311.1 kB / 1.035 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.91e-07/0.245, allocations: 3.938 kB / 1.035 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008356/0.2458, allocations: 240 kB / 1.035 GB, free: 424 kB / 0.6511 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.00491/0.2507, allocations: 2.203 MB / 1.037 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003996/0.2548, allocations: 2.245 MB / 1.039 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2548, allocations: 0 / 1.039 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.2561, allocations: 0.8318 MB / 1.04 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.2568, allocations: 121.2 kB / 1.04 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009131/0.2659, allocations: 4.589 MB / 1.045 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.2665, allocations: 0.9297 MB / 1.046 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005654/0.267, allocations: 163.2 kB / 1.046 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.2673, allocations: 139.4 kB / 1.046 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of SimCode: time 4e-07/0.2673, allocations: 0 / 1.046 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7314/0.9987, allocations: 18.04 MB / 1.064 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/0.999, allocations: 233 kB / 1.064 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/3.41, allocations: 0 / 1.064 GB, free: 2.875 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)