Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.508/1.508, allocations: 288.4 MB / 303.6 MB, free: 8 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.0009335/0.0009335, allocations: 172.5 kB / 372.2 MB, free: 10.11 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.289/1.289, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.000763/0.000763, allocations: 106.2 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003643, allocations: 20.14 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2158, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.002838/0.2187, allocations: 2.263 MB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.2206, allocations: 1.357 MB / 0.9837 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2207, allocations: 0 / 0.9837 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.2209, allocations: 27.78 kB / 0.9838 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.2213, allocations: 119.5 kB / 0.9839 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.2218, allocations: 164.8 kB / 0.984 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.222, allocations: 251.2 kB / 0.9843 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.2225, allocations: 234.2 kB / 0.9845 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.2227, allocations: 75.75 kB / 0.9846 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.2229, allocations: 99.66 kB / 0.9847 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.2229, allocations: 11.98 kB / 0.9847 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.2232, allocations: 207.5 kB / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.2233, allocations: 55.88 kB / 0.9849 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.2234, allocations: 97.3 kB / 0.985 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.2237, allocations: 207.4 kB / 0.9852 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2237, allocations: 4 kB / 0.9852 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2237, allocations: 0 / 0.9852 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.2237, allocations: 0 / 0.9852 GB, free: 22.03 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005932/0.2243, allocations: 439.3 kB / 0.9856 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2243, allocations: 8.031 kB / 0.9856 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.2244, allocations: 54.73 kB / 0.9857 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.2249, allocations: 68.56 kB / 0.9858 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.2252, allocations: 224.1 kB / 0.986 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.2252, allocations: 8.656 kB / 0.986 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.2253, allocations: 12.38 kB / 0.986 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.2257, allocations: 287.4 kB / 0.9863 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.2257, allocations: 3.938 kB / 0.9863 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.2257, allocations: 4 kB / 0.9863 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.2258, allocations: 20.22 kB / 0.9863 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.226, allocations: 212.4 kB / 0.9865 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.2274, allocations: 1.58 MB / 0.988 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.2277, allocations: 315.4 kB / 0.9883 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.2278, allocations: 65.77 kB / 0.9884 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2278, allocations: 0 / 0.9884 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.2278, allocations: 38.48 kB / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.2278, allocations: 0 / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004852/0.2283, allocations: 256.7 kB / 0.9887 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.2283, allocations: 77.11 kB / 0.9888 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.2285, allocations: 203.2 kB / 0.989 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.2285, allocations: 25.7 kB / 0.989 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.2286, allocations: 159.6 kB / 0.9891 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.2286, allocations: 31.56 kB / 0.9892 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.2286, allocations: 4 kB / 0.9892 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.2287, allocations: 326.8 kB / 0.9895 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/0.2288, allocations: 68.16 kB / 0.9895 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.2289, allocations: 152.6 kB / 0.9897 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.2291, allocations: 234.9 kB / 0.9899 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2291, allocations: 0 / 0.9899 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003231/0.2295, allocations: 261.5 kB / 0.9902 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.061e-05/0.2295, allocations: 168.8 kB / 0.9903 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2296, allocations: 7.984 kB / 0.9903 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2296, allocations: 4 kB / 0.9903 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.2298, allocations: 55.91 kB / 0.9904 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.2298, allocations: 15.92 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.23, allocations: 11.98 kB / 0.9904 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.23, allocations: 12 kB / 0.9904 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.23, allocations: 4 kB / 0.9904 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002522/0.2303, allocations: 183.7 kB / 0.9906 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2303, allocations: 12.36 kB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.2303, allocations: 8 kB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.2305, allocations: 47.92 kB / 0.9907 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.2305, allocations: 11.92 kB / 0.9907 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2306, allocations: 15.94 kB / 0.9907 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.2306, allocations: 8 kB / 0.9907 GB, free: 15.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.2308, allocations: 217 kB / 0.9909 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.2308, allocations: 15.81 kB / 0.9909 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.231, allocations: 151 kB / 0.9911 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.2311, allocations: 4 kB / 0.9911 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2311, allocations: 3.938 kB / 0.9911 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2311, allocations: 0 / 0.9911 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007358/0.2318, allocations: 0.7157 MB / 0.9918 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2318, allocations: 4 kB / 0.9918 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.577e-05/0.2319, allocations: 27.92 kB / 0.9918 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.232, allocations: 4 kB / 0.9918 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.232, allocations: 8 kB / 0.9918 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.232, allocations: 0 / 0.9918 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.232, allocations: 8.281 kB / 0.9918 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.2322, allocations: 390.3 kB / 0.9922 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.2323, allocations: 104.9 kB / 0.9923 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.2323, allocations: 8 kB / 0.9923 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2325, allocations: 11.92 kB / 0.9923 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.2325, allocations: 19.92 kB / 0.9923 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.2326, allocations: 8 kB / 0.9923 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.678e-05/0.2327, allocations: 152.8 kB / 0.9925 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2327, allocations: 0 / 0.9925 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004471/0.2331, allocations: 60 kB / 0.9925 GB, free: 13.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004239/0.2336, allocations: 0.9221 MB / 0.9934 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.2339, allocations: 260.8 kB / 0.9937 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2339, allocations: 0 / 0.9937 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.81e-05/0.234, allocations: 60.22 kB / 0.9938 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.2345, allocations: 33.66 kB / 0.9938 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.2359, allocations: 1.152 MB / 0.9949 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.236, allocations: 0.7324 MB / 0.9956 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.2362, allocations: 69.47 kB / 0.9957 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.2363, allocations: 47.41 kB / 0.9957 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.2363, allocations: 0 / 0.9957 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.2649, allocations: 3.328 MB / 0.999 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.2652, allocations: 234.7 kB / 0.9992 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.305, allocations: 0 / 0.9992 GB, free: 7.039 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)