Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009619/0.0009619, allocations: 180.9 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.4 MB / 0.5776 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009837/0.0009837, allocations: 89 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003789, allocations: 10.03 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2179, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.00504/0.2231, allocations: 4.563 MB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005029/0.2281, allocations: 3.509 MB / 0.9082 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004544/0.2286, allocations: 11.94 kB / 0.9082 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009983/0.2296, allocations: 218.8 kB / 0.9084 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.2313, allocations: 366.9 kB / 0.9088 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008741/0.2322, allocations: 187.6 kB / 0.9089 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.2332, allocations: 0.7554 MB / 0.9097 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.2343, allocations: 0.7356 MB / 0.9104 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.2345, allocations: 199.2 kB / 0.9106 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.2349, allocations: 255 kB / 0.9108 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.235, allocations: 20 kB / 0.9109 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007428/0.2357, allocations: 327.6 kB / 0.9112 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.2358, allocations: 147.5 kB / 0.9113 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.2359, allocations: 105.5 kB / 0.9114 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.2366, allocations: 0.7678 MB / 0.9122 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2366, allocations: 7.938 kB / 0.9122 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2366, allocations: 0 / 0.9122 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2367, allocations: 0 / 0.9122 GB, free: 51.59 MB / 0.6042 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.001369/0.238, allocations: 0.7557 MB / 0.9129 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.2381, allocations: 16.03 kB / 0.9129 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.807e-05/0.2382, allocations: 74.52 kB / 0.913 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/0.241, allocations: 0.7131 MB / 0.9137 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009483/0.242, allocations: 0.5381 MB / 0.9142 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.242, allocations: 24.61 kB / 0.9142 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.2421, allocations: 28 kB / 0.9143 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.2435, allocations: 0.8395 MB / 0.9151 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2436, allocations: 4 kB / 0.9151 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.2436, allocations: 11.98 kB / 0.9151 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/0.2438, allocations: 80.5 kB / 0.9152 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.2456, allocations: 0.9429 MB / 0.9161 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.249, allocations: 2.945 MB / 0.919 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.2505, allocations: 0.565 MB / 0.9195 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006634/0.2512, allocations: 324.9 kB / 0.9198 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.252e-05/0.2513, allocations: 93.28 kB / 0.9199 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.2513, allocations: 30.75 kB / 0.9199 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.885e-06/0.2513, allocations: 0 / 0.9199 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.01346/0.2648, allocations: 4.084 MB / 0.9239 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.2649, allocations: 81.11 kB / 0.924 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.2654, allocations: 453.5 kB / 0.9244 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.2655, allocations: 37.64 kB / 0.9245 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.2656, allocations: 240.1 kB / 0.9247 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.335e-05/0.2657, allocations: 122.2 kB / 0.9248 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.2657, allocations: 12 kB / 0.9248 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.2658, allocations: 350.8 kB / 0.9252 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008994/0.2667, allocations: 444.5 kB / 0.9256 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009209/0.2677, allocations: 0.5251 MB / 0.9261 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009993/0.2687, allocations: 481.9 kB / 0.9266 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2687, allocations: 0 / 0.9266 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005704/0.2744, allocations: 1.92 MB / 0.9284 GB, free: 34.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.213e-05/0.2745, allocations: 154.6 kB / 0.9286 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2745, allocations: 0 / 0.9286 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004745/0.2793, allocations: 1.105 MB / 0.9297 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/0.28, allocations: 123.8 kB / 0.9298 GB, free: 32.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009092/0.2891, allocations: 6.378 MB / 0.936 GB, free: 26.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/0.29, allocations: 127.9 kB / 0.9361 GB, free: 26.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.459e-05/0.2901, allocations: 19.98 kB / 0.9362 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.2902, allocations: 4 kB / 0.9362 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004808/0.295, allocations: 1.636 MB / 0.9378 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.295, allocations: 8 kB / 0.9378 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/0.2984, allocations: 0.7977 MB / 0.9385 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.2991, allocations: 139.8 kB / 0.9387 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006996/0.3061, allocations: 5.55 MB / 0.9441 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008796/0.307, allocations: 108.1 kB / 0.9442 GB, free: 17.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/0.3071, allocations: 23.98 kB / 0.9442 GB, free: 17.66 MB / 0.6042 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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003924/0.3075, allocations: 344.9 kB / 0.9446 GB, free: 17.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.3077, allocations: 39.53 kB / 0.9446 GB, free: 17.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005339/0.3131, allocations: 1.825 MB / 0.9464 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3131, allocations: 4.094 kB / 0.9464 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3131, allocations: 0 / 0.9464 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3131, allocations: 3.984 kB / 0.9464 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006289/0.3194, allocations: 2.565 MB / 0.9489 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.3195, allocations: 4 kB / 0.9489 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.3199, allocations: 91.88 kB / 0.949 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004244/0.3241, allocations: 1.016 MB / 0.95 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/0.3242, allocations: 12 kB / 0.95 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00809/0.3323, allocations: 6.067 MB / 0.9559 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3324, allocations: 0 / 0.9559 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/0.3375, allocations: 1.794 MB / 0.9577 GB, free: 3.488 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.3379, allocations: 188.6 kB / 0.9578 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.338, allocations: 15.92 kB / 0.9579 GB, free: 3.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.3387, allocations: 95.86 kB / 0.9579 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.3389, allocations: 43.84 kB / 0.958 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.339, allocations: 11.98 kB / 0.958 GB, free: 3.121 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000397/0.3394, allocations: 335.1 kB / 0.9583 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.11e-07/0.3394, allocations: 0 / 0.9583 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001264/0.3407, allocations: 288 kB / 0.9586 GB, free: 2.512 MB / 0.6042 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.005455/0.3461, allocations: 2.409 MB / 0.9609 GB, free: 56 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006931/0.3531, allocations: 2.533 MB / 0.9634 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.3532, allocations: 0 / 0.9634 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002683/0.3558, allocations: 0.985 MB / 0.9644 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009275/0.3568, allocations: 133.2 kB / 0.9645 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.3692, allocations: 5.102 MB / 0.9695 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008508/0.3701, allocations: 0.9531 MB / 0.9704 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006904/0.3709, allocations: 151.4 kB / 0.9706 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/0.3712, allocations: 155.4 kB / 0.9707 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.3712, allocations: 0 / 0.9707 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03819/0.4094, allocations: 21 MB / 0.9912 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.4096, allocations: 261 kB / 0.9915 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/2.864, allocations: 0 / 0.9915 GB, free: 0.8359 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)