Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00137/0.00137, allocations: 188 kB / 16.25 MB, free: 6.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.696/1.696, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.87/1.87, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001504/0.001504, allocations: 73.12 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2767, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01922/0.296, allocations: 16.28 MB / 0.7988 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009089/0.3051, allocations: 5.698 MB / 0.8043 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.3066, allocations: 39.88 kB / 0.8044 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004131/0.3107, allocations: 1.435 MB / 0.8058 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.314, allocations: 0.7592 MB / 0.8065 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.3169, allocations: 0.9778 MB / 0.8075 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004991/0.3219, allocations: 3.918 MB / 0.8113 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.332, allocations: 6.837 MB / 0.818 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/0.3349, allocations: 1.753 MB / 0.8197 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003678/0.3386, allocations: 2.201 MB / 0.8218 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000873/0.3395, allocations: 420 kB / 0.8222 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.3416, allocations: 1.065 MB / 0.8233 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.3435, allocations: 1.653 MB / 0.8249 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.3456, allocations: 1.603 MB / 0.8265 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007511/0.3531, allocations: 6.07 MB / 0.8324 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.3532, allocations: 4 kB / 0.8324 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3532, allocations: 0 / 0.8324 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001753/0.3534, allocations: 0 / 0.8324 GB, free: 10.96 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.006566/0.36, allocations: 2.771 MB / 0.8351 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.36, allocations: 8.031 kB / 0.8351 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/0.3633, allocations: 0.6613 MB / 0.8357 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.3658, allocations: 1.423 MB / 0.8371 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.366, allocations: 214 kB / 0.8373 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004531/0.3665, allocations: 264.3 kB / 0.8376 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008652/0.3751, allocations: 4.723 MB / 0.8422 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-05/0.3752, allocations: 4 kB / 0.8422 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/0.3755, allocations: 112 kB / 0.8423 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.3757, allocations: 152.6 kB / 0.8425 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007045/0.3828, allocations: 4.081 MB / 0.8464 GB, free: 12.34 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.025/0.4078, allocations: 20.29 MB / 0.8663 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/0.4109, allocations: 1.901 MB / 0.8681 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.412, allocations: 0.7587 MB / 0.8689 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.4121, allocations: 117.7 kB / 0.869 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4122, allocations: 39.22 kB / 0.869 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.284e-06/0.4122, allocations: 3.938 kB / 0.869 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.01724/0.4294, allocations: 5.197 MB / 0.8741 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.4295, allocations: 137.5 kB / 0.8742 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4307, allocations: 0.9684 MB / 0.8752 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.883e-05/0.4308, allocations: 41.7 kB / 0.8752 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/0.4315, allocations: 1.187 MB / 0.8764 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.4318, allocations: 331.4 kB / 0.8767 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/0.4322, allocations: 359.1 kB / 0.877 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4324, allocations: 326.1 kB / 0.8773 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.4335, allocations: 0.8792 MB / 0.8782 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.435, allocations: 1.507 MB / 0.8797 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.4377, allocations: 2.457 MB / 0.8821 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.4377, allocations: 8 kB / 0.8821 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003668/0.4414, allocations: 2.508 MB / 0.8845 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.4414, allocations: 12 kB / 0.8845 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.4414, allocations: 28.12 kB / 0.8846 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.052e-05/0.4415, allocations: 28 kB / 0.8846 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/0.4438, allocations: 0.5109 MB / 0.8851 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.275e-05/0.4439, allocations: 43.84 kB / 0.8851 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.445, allocations: 159.5 kB / 0.8853 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.4451, allocations: 87.97 kB / 0.8854 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002993/0.4481, allocations: 1.905 MB / 0.8872 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001587/0.4497, allocations: 1.499 MB / 0.8887 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002874/0.4526, allocations: 2.422 MB / 0.8911 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.174e-05/0.4526, allocations: 11.94 kB / 0.8911 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003701/0.4563, allocations: 2.492 MB / 0.8935 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4564, allocations: 12 kB / 0.8935 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.4564, allocations: 24 kB / 0.8935 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.4564, allocations: 28 kB / 0.8936 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/0.459, allocations: 0.5148 MB / 0.8941 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.985e-05/0.4591, allocations: 43.86 kB / 0.8941 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.4604, allocations: 151.7 kB / 0.8942 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/0.4607, allocations: 87.98 kB / 0.8943 GB, free: 7.859 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.0005411/0.4612, allocations: 295.5 kB / 0.8946 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.4615, allocations: 94.88 kB / 0.8947 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.4641, allocations: 1.833 MB / 0.8965 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4642, allocations: 11.94 kB / 0.8965 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4642, allocations: 4 kB / 0.8965 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4642, allocations: 3.984 kB / 0.8965 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/0.4762, allocations: 9.03 MB / 0.9053 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.4763, allocations: 8 kB / 0.9053 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.4774, allocations: 251.6 kB / 0.9056 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.411e-05/0.4774, allocations: 16 kB / 0.9056 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-05/0.4775, allocations: 31.94 kB / 0.9056 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.742e-05/0.4775, allocations: 19.92 kB / 0.9056 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/0.4775, allocations: 19.88 kB / 0.9057 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.4799, allocations: 1.77 MB / 0.9074 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.4804, allocations: 284 kB / 0.9077 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.4805, allocations: 35.92 kB / 0.9077 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007342/0.4813, allocations: 71.91 kB / 0.9078 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.4814, allocations: 95.55 kB / 0.9079 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/0.4815, allocations: 39.98 kB / 0.9079 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001083/0.4826, allocations: 0.7254 MB / 0.9086 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3e-07/0.4826, allocations: 4 kB / 0.9086 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003119/0.4857, allocations: 0.8047 MB / 0.9094 GB, free: 7.207 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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.0003912/0.4861, allocations: 167 kB / 0.9095 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005208/0.4913, allocations: 3.124 MB / 0.9126 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.4914, allocations: 8.062 kB / 0.9126 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007802/0.4922, allocations: 0.5761 MB / 0.9132 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.4936, allocations: 188.7 kB / 0.9134 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4904/0.984, allocations: 5.53 MB / 0.9188 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003844/0.9879, allocations: 2.108 MB / 0.9208 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004452/0.9924, allocations: 1.024 MB / 0.9218 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/0.9929, allocations: 89.86 kB / 0.9219 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of SimCode: time 2.334e-06/0.9929, allocations: 0 / 0.9219 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.04147/1.034, allocations: 14.67 MB / 0.9362 GB, free: 124.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)