Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 252 MB / 267.6 MB, free: 10.91 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.001105/0.001106, allocations: 179.5 kB / 327.3 MB, free: 2.203 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.673/1.673, allocations: 205.4 MB / 0.5783 GB, free: 20.51 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.0007081/0.0007081, allocations: 93.97 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003523, allocations: 10.06 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1735, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01292/0.1865, allocations: 15.16 MB / 0.9156 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00822/0.1947, allocations: 5.973 MB / 0.9215 GB, free: 43.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.1962, allocations: 43.88 kB / 0.9215 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.1973, allocations: 305.7 kB / 0.9218 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.1993, allocations: 0.6574 MB / 0.9224 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.2016, allocations: 0.8209 MB / 0.9232 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003607/0.2053, allocations: 4.435 MB / 0.9276 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007285/0.2126, allocations: 5.249 MB / 0.9327 GB, free: 31.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.2146, allocations: 1.152 MB / 0.9338 GB, free: 30.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.2171, allocations: 1.679 MB / 0.9355 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000664/0.2178, allocations: 160 kB / 0.9356 GB, free: 28.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.2192, allocations: 399.6 kB / 0.936 GB, free: 28.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.2207, allocations: 1.224 MB / 0.9372 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009425/0.2217, allocations: 0.4966 MB / 0.9377 GB, free: 26.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003798/0.2255, allocations: 4.633 MB / 0.9422 GB, free: 21.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.2255, allocations: 0 / 0.9422 GB, free: 21.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2255, allocations: 3.938 kB / 0.9422 GB, free: 21.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002081/0.2258, allocations: 0 / 0.9422 GB, free: 21.76 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004931/0.2307, allocations: 2.227 MB / 0.9444 GB, free: 19.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2307, allocations: 8.031 kB / 0.9444 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003624/0.2344, allocations: 0.793 MB / 0.9452 GB, free: 18.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.2366, allocations: 1.387 MB / 0.9465 GB, free: 17.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.612e-05/0.2367, allocations: 201.1 kB / 0.9467 GB, free: 17.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.2371, allocations: 252 kB / 0.947 GB, free: 16.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006383/0.2435, allocations: 4.549 MB / 0.9514 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.083e-05/0.2436, allocations: 11.88 kB / 0.9514 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002577/0.2439, allocations: 119.9 kB / 0.9515 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.244, allocations: 176.3 kB / 0.9517 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005263/0.2493, allocations: 3.811 MB / 0.9554 GB, free: 7.922 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02113/0.2705, allocations: 21.43 MB / 0.9763 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.2732, allocations: 2.246 MB / 0.9785 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009999/0.2743, allocations: 0.7218 MB / 0.9792 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.2743, allocations: 23.83 kB / 0.9793 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.2744, allocations: 46.5 kB / 0.9793 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=62): time 2.565e-06/0.2744, allocations: 0 / 0.9793 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68): time 0.005914/0.2803, allocations: 4.184 MB / 0.9834 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.2804, allocations: 239.3 kB / 0.9836 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.2819, allocations: 1.104 MB / 0.9847 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.282, allocations: 37.7 kB / 0.9847 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007851/0.2828, allocations: 1.187 MB / 0.9859 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.283, allocations: 257.1 kB / 0.9861 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.2831, allocations: 36 kB / 0.9862 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.2833, allocations: 406.7 kB / 0.9866 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009809/0.2843, allocations: 0.6987 MB / 0.9872 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.2857, allocations: 1.391 MB / 0.9886 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.287, allocations: 0.9795 MB / 0.9896 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.287, allocations: 4 kB / 0.9896 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002996/0.29, allocations: 2.171 MB / 0.9917 GB, free: 44 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005035/0.2905, allocations: 0.7863 MB / 0.9925 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.2906, allocations: 24 kB / 0.9925 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/0.2906, allocations: 36 kB / 0.9925 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.292, allocations: 435.2 kB / 0.9929 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.882e-05/0.292, allocations: 47.8 kB / 0.993 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.2932, allocations: 195.4 kB / 0.9932 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.2933, allocations: 83.98 kB / 0.9932 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.2933, allocations: 4 kB / 0.9932 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002409/0.2958, allocations: 1.839 MB / 0.995 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.2958, allocations: 27.94 kB / 0.9951 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.2958, allocations: 36.88 kB / 0.9951 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.297, allocations: 391.3 kB / 0.9955 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.245e-05/0.2971, allocations: 47.86 kB / 0.9955 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/0.2979, allocations: 131.5 kB / 0.9956 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.298, allocations: 83.98 kB / 0.9957 GB, free: 11.57 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.001636/0.2997, allocations: 1.132 MB / 0.9968 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.3, allocations: 107.1 kB / 0.9969 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.3015, allocations: 1.091 MB / 0.998 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.3015, allocations: 11.98 kB / 0.998 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.3015, allocations: 7.938 kB / 0.998 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3016, allocations: 3.984 kB / 0.998 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.314, allocations: 10.17 MB / 1.008 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/0.3141, allocations: 19.95 kB / 1.008 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/0.3147, allocations: 183.7 kB / 1.008 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.142e-05/0.3147, allocations: 20.81 kB / 1.008 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.3148, allocations: 35.98 kB / 1.008 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.832e-05/0.3148, allocations: 31.88 kB / 1.008 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-05/0.3149, allocations: 27.88 kB / 1.008 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.3171, allocations: 2.154 MB / 1.01 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005325/0.3176, allocations: 343.6 kB / 1.011 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.3178, allocations: 39.98 kB / 1.011 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000943/0.3187, allocations: 91.88 kB / 1.011 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.3188, allocations: 103.5 kB / 1.011 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/0.3189, allocations: 40 kB / 1.011 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001026/0.3199, allocations: 0.7542 MB / 1.012 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3199, allocations: 0 / 1.012 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002678/0.3226, allocations: 0.7227 MB / 1.012 GB, free: 9.969 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0002377/0.3229, allocations: 162.9 kB / 1.013 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003506/0.3264, allocations: 2.457 MB / 1.015 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.3264, allocations: 4 kB / 1.015 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000749/0.3272, allocations: 0.5732 MB / 1.016 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.329, allocations: 233 kB / 1.016 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008893/0.3379, allocations: 5.725 MB / 1.021 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002103/0.34, allocations: 2.067 MB / 1.023 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005012/0.3405, allocations: 99.41 kB / 1.023 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of SimCode: time 9.71e-07/0.3406, allocations: 3.938 kB / 1.023 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of Templates: time 0.03583/0.3764, allocations: 24.91 MB / 1.048 GB, free: 5.531 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)