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.001018/0.001018, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001052/0.001052, allocations: 193 kB / 16.13 MB, free: 6.652 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.401/1.401, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.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.778/1.778, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001327/0.001327, allocations: 61.55 kB / 0.6708 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.222, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003743/0.2258, allocations: 2.687 MB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.228, allocations: 1.473 MB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.2281, allocations: 4 kB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005985/0.2287, allocations: 151.5 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.229, allocations: 123.5 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.2294, allocations: 171.6 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.2297, allocations: 315.2 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.23, allocations: 117.3 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.2301, allocations: 83.67 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.2304, allocations: 103.6 kB / 0.7878 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.2304, allocations: 8 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.2307, allocations: 215.6 kB / 0.788 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.2308, allocations: 67.8 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.098e-05/0.2309, allocations: 75.55 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.2312, allocations: 295 kB / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2312, allocations: 0 / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2312, allocations: 0 / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2312, allocations: 0 / 0.7884 GB, free: 8.129 MB / 0.6075 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.0006441/0.2319, allocations: 471.2 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2319, allocations: 12.03 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/0.2324, allocations: 64.67 kB / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.2326, allocations: 220 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2327, allocations: 20.64 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.2327, allocations: 12.38 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.2331, allocations: 279.6 kB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2331, allocations: 0 / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.2332, allocations: 15.98 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.2332, allocations: 20.22 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.2335, allocations: 209.6 kB / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.2354, allocations: 1.572 MB / 0.7912 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.2358, allocations: 327.2 kB / 0.7915 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.236, allocations: 61.69 kB / 0.7916 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.236, allocations: 4.141 kB / 0.7916 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.236, allocations: 42.5 kB / 0.7916 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.605e-06/0.2361, allocations: 0 / 0.7916 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006495/0.2367, allocations: 248.4 kB / 0.7918 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.2368, allocations: 77.11 kB / 0.7919 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.237, allocations: 200.6 kB / 0.7921 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.237, allocations: 25.7 kB / 0.7921 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2372, allocations: 155.9 kB / 0.7923 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.2372, allocations: 47.38 kB / 0.7923 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.2373, allocations: 41.7 kB / 0.7924 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2375, allocations: 326.8 kB / 0.7927 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.2376, allocations: 72.81 kB / 0.7928 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.2378, allocations: 165.8 kB / 0.7929 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.2381, allocations: 223 kB / 0.7931 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2381, allocations: 4 kB / 0.7931 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004065/0.2385, allocations: 269 kB / 0.7934 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2385, allocations: 8 kB / 0.7934 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2385, allocations: 0 / 0.7934 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.2386, allocations: 8.312 kB / 0.7934 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.2388, allocations: 55.91 kB / 0.7935 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.2389, allocations: 4 kB / 0.7935 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.239, allocations: 15.98 kB / 0.7935 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.239, allocations: 8 kB / 0.7935 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001878/0.2392, allocations: 164.1 kB / 0.7936 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000163/0.2394, allocations: 147.9 kB / 0.7938 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002678/0.2397, allocations: 207.8 kB / 0.794 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-06/0.2397, allocations: 4 kB / 0.794 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003526/0.2401, allocations: 245.1 kB / 0.7942 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.2401, allocations: 8 kB / 0.7942 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.2401, allocations: 0 / 0.7942 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.2401, allocations: 4.406 kB / 0.7942 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2403, allocations: 51.92 kB / 0.7943 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.2403, allocations: 15.86 kB / 0.7943 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2404, allocations: 8.047 kB / 0.7943 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.2404, allocations: 15.98 kB / 0.7943 GB, free: 1.504 MB / 0.6075 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.0001342/0.2406, allocations: 200.1 kB / 0.7945 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.2406, allocations: 11.81 kB / 0.7945 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.2409, allocations: 139 kB / 0.7946 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2409, allocations: 7.938 kB / 0.7947 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2409, allocations: 4 kB / 0.7947 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2409, allocations: 0 / 0.7947 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008646/0.2418, allocations: 0.7235 MB / 0.7954 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2418, allocations: 4.125 kB / 0.7954 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.2419, allocations: 31.92 kB / 0.7954 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2419, allocations: 4 kB / 0.7954 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.242, allocations: 4 kB / 0.7954 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.242, allocations: 8.484 kB / 0.7954 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.242, allocations: 0 / 0.7954 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.2423, allocations: 382.5 kB / 0.7958 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.2424, allocations: 104.9 kB / 0.7959 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.2425, allocations: 8 kB / 0.7959 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.2426, allocations: 7.984 kB / 0.7959 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.2427, allocations: 19.92 kB / 0.7959 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.2427, allocations: 4 kB / 0.7959 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001163/0.2428, allocations: 156.8 kB / 0.7961 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2428, allocations: 0 / 0.7961 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004882/0.2433, allocations: 68 kB / 0.7961 GB, free: 15.47 MB / 0.6231 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.0001414/0.2434, allocations: 115.1 kB / 0.7962 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000405/0.2439, allocations: 268.4 kB / 0.7965 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2439, allocations: 0 / 0.7965 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.2439, allocations: 59.84 kB / 0.7966 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.2444, allocations: 33.08 kB / 0.7966 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.2451, allocations: 486.5 kB / 0.797 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.2454, allocations: 0.7363 MB / 0.7978 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.2456, allocations: 73.45 kB / 0.7978 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.2457, allocations: 19.44 kB / 0.7979 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.2457, allocations: 0 / 0.7979 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.004417/0.2501, allocations: 1.691 MB / 0.7995 GB, free: 11.95 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)