Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 102.2 kB / 16.29 MB, free: 6.016 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.001395/0.001395, allocations: 181.6 kB / 17.22 MB, free: 5.625 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.566/1.566, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.956/1.956, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001502/0.001502, allocations: 71.89 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2732, allocations: 114.5 MB / 0.7841 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.005182/0.2784, allocations: 2.622 MB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5503/0.8287, allocations: 1.467 MB / 0.7881 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.829, allocations: 2.719 kB / 0.7881 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007953/0.8298, allocations: 171.5 kB / 0.7882 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.8302, allocations: 132.5 kB / 0.7884 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.8308, allocations: 183.9 kB / 0.7885 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.831, allocations: 224 kB / 0.7888 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.8313, allocations: 117.4 kB / 0.7889 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.8315, allocations: 86.09 kB / 0.789 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.8317, allocations: 106 kB / 0.7891 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.8318, allocations: 10.91 kB / 0.7891 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.832, allocations: 191 kB / 0.7892 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.8321, allocations: 56.27 kB / 0.7893 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.272e-05/0.8322, allocations: 87.55 kB / 0.7894 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.8326, allocations: 276.8 kB / 0.7896 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.8326, allocations: 0.5312 kB / 0.7896 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8326, allocations: 2.469 kB / 0.7897 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.8326, allocations: 0 / 0.7897 GB, free: 46.21 MB / 0.6544 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.0006964/0.8333, allocations: 473.8 kB / 0.7901 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.8334, allocations: 8.312 kB / 0.7901 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005124/0.8339, allocations: 65.72 kB / 0.7902 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.8341, allocations: 225.2 kB / 0.7904 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.8341, allocations: 11.3 kB / 0.7904 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.8342, allocations: 11.88 kB / 0.7904 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.8346, allocations: 286 kB / 0.7907 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.8346, allocations: 3.281 kB / 0.7907 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.8346, allocations: 3.938 kB / 0.7907 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.8347, allocations: 19.83 kB / 0.7907 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.8349, allocations: 210 kB / 0.7909 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.8363, allocations: 1.59 MB / 0.7925 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.8367, allocations: 317.7 kB / 0.7928 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.453e-05/0.8368, allocations: 66.09 kB / 0.7928 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.8368, allocations: 5.531 kB / 0.7928 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.8368, allocations: 35.69 kB / 0.7929 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.552e-06/0.8369, allocations: 0 / 0.7929 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0005468/0.8374, allocations: 245.4 kB / 0.7931 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.8375, allocations: 83.48 kB / 0.7932 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.8376, allocations: 194.4 kB / 0.7934 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.8376, allocations: 32.73 kB / 0.7934 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.8377, allocations: 153.7 kB / 0.7935 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.8378, allocations: 32.64 kB / 0.7936 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.8378, allocations: 56.98 kB / 0.7936 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.8379, allocations: 323.1 kB / 0.7939 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.902e-05/0.838, allocations: 71.52 kB / 0.794 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.8381, allocations: 159.3 kB / 0.7942 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.8384, allocations: 226.2 kB / 0.7944 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8384, allocations: 0 / 0.7944 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003504/0.8388, allocations: 268.5 kB / 0.7946 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.8388, allocations: 3.875 kB / 0.7946 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.8388, allocations: 3.938 kB / 0.7946 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.8388, allocations: 5.031 kB / 0.7946 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.839, allocations: 56.75 kB / 0.7947 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.839, allocations: 6.25 kB / 0.7947 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.8392, allocations: 22.77 kB / 0.7947 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.8392, allocations: 7.75 kB / 0.7947 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001347/0.8394, allocations: 165.8 kB / 0.7949 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001193/0.8395, allocations: 140.8 kB / 0.795 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002146/0.8397, allocations: 215.5 kB / 0.7952 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.8397, allocations: 0 / 0.7952 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003135/0.84, allocations: 250.1 kB / 0.7955 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.8401, allocations: 6.75 kB / 0.7955 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.8401, allocations: 3.438 kB / 0.7955 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/0.8401, allocations: 6.562 kB / 0.7955 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.8402, allocations: 44.98 kB / 0.7955 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.8402, allocations: 12.28 kB / 0.7955 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.8404, allocations: 20.75 kB / 0.7956 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.8404, allocations: 13.56 kB / 0.7956 GB, free: 42.54 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.8405, allocations: 186.2 kB / 0.7957 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.8405, allocations: 16.31 kB / 0.7958 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.8408, allocations: 148.6 kB / 0.7959 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.8408, allocations: 7.344 kB / 0.7959 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8408, allocations: 0 / 0.7959 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.8408, allocations: 0 / 0.7959 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008297/0.8417, allocations: 0.721 MB / 0.7966 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.8417, allocations: 7.531 kB / 0.7966 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.423e-05/0.8418, allocations: 25.39 kB / 0.7966 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.8418, allocations: 3.312 kB / 0.7967 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.8418, allocations: 8.281 kB / 0.7967 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.8418, allocations: 3.5 kB / 0.7967 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.8418, allocations: 10.67 kB / 0.7967 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.8421, allocations: 378.8 kB / 0.797 GB, free: 41.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.449e-05/0.8422, allocations: 109.5 kB / 0.7971 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.8422, allocations: 8.719 kB / 0.7971 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.8424, allocations: 9.969 kB / 0.7972 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.8424, allocations: 15.77 kB / 0.7972 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.8424, allocations: 6.938 kB / 0.7972 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001002/0.8425, allocations: 148 kB / 0.7973 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8425, allocations: 1.125 kB / 0.7973 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004605/0.843, allocations: 71.91 kB / 0.7974 GB, free: 41.37 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001422/0.8432, allocations: 109.8 kB / 0.7975 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.8435, allocations: 264.5 kB / 0.7977 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.8435, allocations: 7.375 kB / 0.7978 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.942e-05/0.8436, allocations: 60.59 kB / 0.7978 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.8441, allocations: 30.88 kB / 0.7978 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.8447, allocations: 413.3 kB / 0.7982 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.845, allocations: 0.7396 MB / 0.799 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.8451, allocations: 74.94 kB / 0.799 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.8452, allocations: 18.64 kB / 0.799 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.8452, allocations: 0 / 0.799 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.005043/0.8502, allocations: 1.753 MB / 0.8008 GB, free: 40.25 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)