Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.799/1.799, allocations: 288.4 MB / 303.3 MB, free: 8.055 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.00113/0.00113, allocations: 182.8 kB / 372 MB, free: 10.27 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.512/1.512, 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.0007063/0.0007063, allocations: 94.12 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 11.38 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2103, allocations: 115.3 MB / 0.9797 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.004903/0.2153, allocations: 4.486 MB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00348/0.2188, allocations: 3.112 MB / 0.9871 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.219, allocations: 4 kB / 0.9871 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.2195, allocations: 155.1 kB / 0.9872 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006319/0.2202, allocations: 307.5 kB / 0.9875 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.2206, allocations: 191.5 kB / 0.9877 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005725/0.2212, allocations: 0.7073 MB / 0.9884 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009173/0.2221, allocations: 0.7434 MB / 0.9891 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.2224, allocations: 195.3 kB / 0.9893 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.2226, allocations: 255 kB / 0.9895 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.2227, allocations: 20 kB / 0.9896 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.2231, allocations: 231.7 kB / 0.9898 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2233, allocations: 143.6 kB / 0.9899 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.2233, allocations: 105.5 kB / 0.99 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.2238, allocations: 0.713 MB / 0.9907 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2238, allocations: 0 / 0.9907 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2238, allocations: 0 / 0.9907 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2239, allocations: 4 kB / 0.9907 GB, free: 16.16 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.001093/0.225, allocations: 0.7402 MB / 0.9914 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.225, allocations: 12.03 kB / 0.9915 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.814e-05/0.2251, allocations: 74.53 kB / 0.9915 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/0.2278, allocations: 0.6974 MB / 0.9922 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006705/0.2285, allocations: 482.7 kB / 0.9927 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.2285, allocations: 20.66 kB / 0.9927 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.2286, allocations: 31.95 kB / 0.9927 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.23, allocations: 0.8434 MB / 0.9935 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.23, allocations: 3.938 kB / 0.9935 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.2301, allocations: 12 kB / 0.9936 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/0.2303, allocations: 68.56 kB / 0.9936 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.2321, allocations: 0.9389 MB / 0.9945 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/0.2357, allocations: 2.937 MB / 0.9974 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.2372, allocations: 0.5572 MB / 0.998 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006995/0.2379, allocations: 320.9 kB / 0.9983 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-05/0.238, allocations: 89.28 kB / 0.9983 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.2381, allocations: 38.7 kB / 0.9984 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 4.569e-06/0.2381, allocations: 0 / 0.9984 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.01188/0.25, allocations: 3.658 MB / 1.002 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.25, allocations: 81.11 kB / 1.002 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.2504, allocations: 408.5 kB / 1.002 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.2505, allocations: 29.7 kB / 1.002 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2506, allocations: 235.9 kB / 1.003 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.2507, allocations: 106.4 kB / 1.003 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.2507, allocations: 8 kB / 1.003 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.2508, allocations: 350.8 kB / 1.003 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008041/0.2516, allocations: 399.6 kB / 1.003 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008189/0.2524, allocations: 496.8 kB / 1.004 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008301/0.2533, allocations: 427.7 kB / 1.004 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2533, allocations: 0 / 1.004 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005132/0.2584, allocations: 1.724 MB / 1.006 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.2586, allocations: 159.9 kB / 1.006 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2586, allocations: 0 / 1.006 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004648/0.2632, allocations: 0.9777 MB / 1.007 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/0.264, allocations: 135.8 kB / 1.007 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008993/0.273, allocations: 6.393 MB / 1.014 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008847/0.2739, allocations: 119.8 kB / 1.014 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.274, allocations: 19.98 kB / 1.014 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.274, allocations: 4 kB / 1.014 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005145/0.2791, allocations: 1.66 MB / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2792, allocations: 192 / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003278/0.2825, allocations: 0.7251 MB / 1.016 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/0.2832, allocations: 139.8 kB / 1.016 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006516/0.2897, allocations: 5.433 MB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008736/0.2907, allocations: 111.8 kB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.2907, allocations: 15.98 kB / 1.022 GB, free: 15.13 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.000495/0.2912, allocations: 329 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.265e-05/0.2913, allocations: 31.62 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/0.2967, allocations: 1.637 MB / 1.024 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.2968, allocations: 4 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2968, allocations: 3.938 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2968, allocations: 0 / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/0.303, allocations: 2.334 MB / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.303, allocations: 4 kB / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.3035, allocations: 88 kB / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004137/0.3076, allocations: 0.9192 MB / 1.027 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.3077, allocations: 11.94 kB / 1.027 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007887/0.3156, allocations: 6.227 MB / 1.033 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3157, allocations: 0 / 1.033 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00517/0.3208, allocations: 1.639 MB / 1.034 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.3212, allocations: 180.6 kB / 1.035 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.3213, allocations: 12 kB / 1.035 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/0.322, allocations: 87.86 kB / 1.035 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.3222, allocations: 35.95 kB / 1.035 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.3222, allocations: 8 kB / 1.035 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004475/0.3227, allocations: 307.1 kB / 1.035 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3227, allocations: 0 / 1.035 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001089/0.3238, allocations: 244 kB / 1.035 GB, free: 500 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.005625/0.3294, allocations: 2.203 MB / 1.037 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004715/0.3341, allocations: 2.253 MB / 1.04 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.3342, allocations: 4.125 kB / 1.04 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.3358, allocations: 0.824 MB / 1.04 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.3366, allocations: 132.2 kB / 1.041 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.3474, allocations: 4.582 MB / 1.045 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.3481, allocations: 0.9258 MB / 1.046 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006531/0.3488, allocations: 163.2 kB / 1.046 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.349, allocations: 139.4 kB / 1.046 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of SimCode: time 7.71e-07/0.349, allocations: 4 kB / 1.046 GB, free: 4.961 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.3854, allocations: 18.06 MB / 1.064 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.3856, allocations: 253.9 kB / 1.064 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.757, allocations: 2.953 kB / 1.064 GB, free: 2.84 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)