Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001173/0.001173, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.001151/0.001151, allocations: 192.3 kB / 17.29 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002254/0.002253, allocations: 278.2 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9232/0.9232, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001955, allocations: 91.14 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1682, allocations: 86.98 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.3311/0.4994, allocations: 16.39 MB / 0.6976 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008471/0.5079, allocations: 5.714 MB / 0.7032 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.5094, allocations: 47.28 kB / 0.7032 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003963/0.5134, allocations: 1.543 MB / 0.7047 GB, free: 5.938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.5157, allocations: 0.8283 MB / 0.7056 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003047/0.5188, allocations: 1.044 MB / 0.7066 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00501/0.5238, allocations: 3.906 MB / 0.7104 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008538/0.5323, allocations: 5.642 MB / 0.7159 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.5358, allocations: 1.739 MB / 0.7176 GB, free: 212 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004163/0.5399, allocations: 2.092 MB / 0.7196 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.5414, allocations: 416.8 kB / 0.72 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003233/0.5446, allocations: 1.07 MB / 0.7211 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.004154/0.5488, allocations: 1.662 MB / 0.7227 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004537/0.5534, allocations: 1.602 MB / 0.7243 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007358/0.5608, allocations: 6.061 MB / 0.7302 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5608, allocations: 0 / 0.7302 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5608, allocations: 1.062 kB / 0.7302 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001364/0.5609, allocations: 0 / 0.7302 GB, free: 9.445 MB / 0.4981 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.006437/0.5674, allocations: 2.776 MB / 0.7329 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.5674, allocations: 9.719 kB / 0.7329 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.5707, allocations: 0.6587 MB / 0.7336 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.5742, allocations: 1.443 MB / 0.735 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.5744, allocations: 210 kB / 0.7352 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005075/0.5749, allocations: 267.2 kB / 0.7354 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008774/0.5837, allocations: 4.72 MB / 0.74 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/0.5838, allocations: 7.938 kB / 0.74 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003201/0.5841, allocations: 112 kB / 0.7401 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/0.5842, allocations: 148.6 kB / 0.7403 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00663/0.5909, allocations: 4.085 MB / 0.7443 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02328/0.6142, allocations: 20.12 MB / 0.7639 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/0.6173, allocations: 1.891 MB / 0.7658 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.6184, allocations: 0.7587 MB / 0.7665 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.6186, allocations: 109.7 kB / 0.7666 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.6186, allocations: 47.16 kB / 0.7667 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=77): time 2.504e-06/0.6186, allocations: 0 / 0.7667 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=92): time 0.01678/0.6354, allocations: 5.189 MB / 0.7717 GB, free: 472 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.6355, allocations: 137.5 kB / 0.7719 GB, free: 304 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.6368, allocations: 0.9724 MB / 0.7728 GB, free: 15.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.676e-05/0.6369, allocations: 41.7 kB / 0.7728 GB, free: 15.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006827/0.6375, allocations: 1.18 MB / 0.774 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.6379, allocations: 331.4 kB / 0.7743 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005034/0.6384, allocations: 367 kB / 0.7747 GB, free: 13.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6385, allocations: 330 kB / 0.775 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.6398, allocations: 0.8753 MB / 0.7758 GB, free: 12.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.6414, allocations: 1.51 MB / 0.7773 GB, free: 10.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002982/0.6444, allocations: 2.453 MB / 0.7797 GB, free: 7.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.6444, allocations: 4 kB / 0.7797 GB, free: 7.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003654/0.6481, allocations: 2.512 MB / 0.7822 GB, free: 5.098 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.6481, allocations: 12 kB / 0.7822 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.6482, allocations: 24 kB / 0.7822 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.595e-05/0.6482, allocations: 32.03 kB / 0.7822 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/0.6504, allocations: 0.5187 MB / 0.7827 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-05/0.6505, allocations: 43.84 kB / 0.7828 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.6516, allocations: 151.6 kB / 0.7829 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.6518, allocations: 91.97 kB / 0.783 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002689/0.6545, allocations: 1.897 MB / 0.7849 GB, free: 2.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001564/0.656, allocations: 1.503 MB / 0.7863 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002658/0.6587, allocations: 2.426 MB / 0.7887 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.258e-06/0.6587, allocations: 8 kB / 0.7887 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003352/0.6621, allocations: 2.488 MB / 0.7911 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6621, allocations: 16.03 kB / 0.7912 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.6621, allocations: 27.94 kB / 0.7912 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.6622, allocations: 31.94 kB / 0.7912 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.6643, allocations: 0.5148 MB / 0.7917 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-05/0.6643, allocations: 43.86 kB / 0.7918 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.6654, allocations: 147.8 kB / 0.7919 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.6655, allocations: 83.98 kB / 0.792 GB, free: 10.45 MB / 0.5606 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.0003954/0.6659, allocations: 295.5 kB / 0.7923 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.6661, allocations: 94.88 kB / 0.7923 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.6687, allocations: 1.829 MB / 0.7941 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.6687, allocations: 12 kB / 0.7941 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.6687, allocations: 4 kB / 0.7941 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.6687, allocations: 3.984 kB / 0.7942 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.6788, allocations: 9.058 MB / 0.803 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.6788, allocations: 17 kB / 0.803 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/0.6798, allocations: 251.6 kB / 0.8033 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/0.6798, allocations: 16 kB / 0.8033 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/0.6799, allocations: 28 kB / 0.8033 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.625e-05/0.6799, allocations: 23.92 kB / 0.8033 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/0.6799, allocations: 19.88 kB / 0.8033 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.6817, allocations: 1.768 MB / 0.8051 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/0.6823, allocations: 283.9 kB / 0.8053 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.6824, allocations: 31.98 kB / 0.8054 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006775/0.6831, allocations: 83.84 kB / 0.8054 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.6832, allocations: 91.61 kB / 0.8055 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.6833, allocations: 32 kB / 0.8056 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008573/0.6841, allocations: 0.7293 MB / 0.8063 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6841, allocations: 0 / 0.8063 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002623/0.6868, allocations: 0.8086 MB / 0.8071 GB, free: 9.758 MB / 0.5762 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.0002512/0.687, allocations: 166.9 kB / 0.8072 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003917/0.691, allocations: 2.993 MB / 0.8101 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.691, allocations: 9.812 kB / 0.8102 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006988/0.6917, allocations: 0.5746 MB / 0.8107 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.693, allocations: 183.9 kB / 0.8109 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/0.6994, allocations: 4.406 MB / 0.8152 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/0.7012, allocations: 2.105 MB / 0.8172 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00216/0.7034, allocations: 1.023 MB / 0.8182 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.7037, allocations: 95.41 kB / 0.8183 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.7037, allocations: 0 / 0.8183 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of Templates: time 0.02523/0.7289, allocations: 14.69 MB / 0.8327 GB, free: 15.45 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)