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.001359/0.001359, allocations: 103.8 kB / 16.29 MB, free: 6.43 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.001731/0.001732, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.542/1.542, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.929/1.929, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001462/0.001462, allocations: 63.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2752, allocations: 114.6 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.4446/0.7199, allocations: 16.37 MB / 0.8001 GB, free: 41.56 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0082/0.7281, allocations: 5.746 MB / 0.8057 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.7293, allocations: 47.41 kB / 0.8057 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003781/0.7331, allocations: 1.541 MB / 0.8072 GB, free: 36.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.7355, allocations: 0.8272 MB / 0.808 GB, free: 36.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.7387, allocations: 1.045 MB / 0.8091 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005977/0.7447, allocations: 3.902 MB / 0.8129 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008129/0.7528, allocations: 5.679 MB / 0.8184 GB, free: 32.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.7565, allocations: 1.743 MB / 0.8201 GB, free: 31.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004636/0.7612, allocations: 2.09 MB / 0.8222 GB, free: 30.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.7624, allocations: 417.3 kB / 0.8226 GB, free: 30.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.766, allocations: 1.063 MB / 0.8236 GB, free: 30.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002826/0.7688, allocations: 1.658 MB / 0.8252 GB, free: 29.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002838/0.7717, allocations: 1.606 MB / 0.8268 GB, free: 28.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009906/0.7816, allocations: 6.055 MB / 0.8327 GB, free: 26.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.7817, allocations: 2.031 kB / 0.8327 GB, free: 26.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7817, allocations: 0 / 0.8327 GB, free: 26.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001929/0.7819, allocations: 0 / 0.8327 GB, free: 26.61 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.008325/0.7902, allocations: 2.771 MB / 0.8354 GB, free: 25.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7903, allocations: 10.2 kB / 0.8354 GB, free: 25.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/0.7938, allocations: 0.657 MB / 0.8361 GB, free: 24.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/0.7966, allocations: 1.426 MB / 0.8374 GB, free: 24.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.7968, allocations: 209.4 kB / 0.8376 GB, free: 23.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/0.7973, allocations: 271.8 kB / 0.8379 GB, free: 23.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.8083, allocations: 4.717 MB / 0.8425 GB, free: 21.85 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.937e-05/0.8084, allocations: 5.375 kB / 0.8425 GB, free: 21.85 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003276/0.8087, allocations: 116.3 kB / 0.8426 GB, free: 21.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/0.8089, allocations: 150.7 kB / 0.8428 GB, free: 21.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0074/0.8163, allocations: 4.087 MB / 0.8468 GB, free: 19.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02572/0.8421, allocations: 20.12 MB / 0.8664 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.8454, allocations: 1.9 MB / 0.8683 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.8466, allocations: 0.7611 MB / 0.869 GB, free: 15.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.8468, allocations: 104 kB / 0.8691 GB, free: 15.69 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.8469, allocations: 52.41 kB / 0.8692 GB, free: 15.64 MB / 0.67 GB Notification: Performance of pre-optimization done (n=77): time 2.865e-06/0.8469, allocations: 0 / 0.8692 GB, free: 15.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=92): time 0.01794/0.8648, allocations: 5.17 MB / 0.8742 GB, free: 12.35 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.865, allocations: 137.6 kB / 0.8743 GB, free: 12.18 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.8662, allocations: 0.984 MB / 0.8753 GB, free: 11.19 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.698e-05/0.8663, allocations: 33.7 kB / 0.8753 GB, free: 11.15 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007003/0.867, allocations: 1.193 MB / 0.8765 GB, free: 9.941 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.8673, allocations: 323.4 kB / 0.8768 GB, free: 9.621 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005339/0.8678, allocations: 359.1 kB / 0.8771 GB, free: 9.266 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.868, allocations: 334 kB / 0.8775 GB, free: 8.934 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.8692, allocations: 0.8714 MB / 0.8783 GB, free: 8.059 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.8708, allocations: 1.518 MB / 0.8798 GB, free: 6.25 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/0.8737, allocations: 2.453 MB / 0.8822 GB, free: 3.496 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.8737, allocations: 8 kB / 0.8822 GB, free: 3.488 MB / 0.67 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003668/0.8774, allocations: 2.511 MB / 0.8847 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.8774, allocations: 16 kB / 0.8847 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/0.8775, allocations: 23.98 kB / 0.8847 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.509e-05/0.8775, allocations: 32 kB / 0.8847 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/0.8798, allocations: 0.5232 MB / 0.8852 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.98e-05/0.8798, allocations: 43.86 kB / 0.8853 GB, free: 340 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.8809, allocations: 147.6 kB / 0.8854 GB, free: 192 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.881, allocations: 87.98 kB / 0.8855 GB, free: 104 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003001/0.884, allocations: 1.902 MB / 0.8874 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001674/0.8857, allocations: 1.503 MB / 0.8888 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003138/0.8889, allocations: 2.43 MB / 0.8912 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.85e-05/0.8889, allocations: 4 kB / 0.8912 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.004265/0.8932, allocations: 2.492 MB / 0.8936 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.8932, allocations: 16.94 kB / 0.8937 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.8933, allocations: 20 kB / 0.8937 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/0.8933, allocations: 35.94 kB / 0.8937 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/0.8955, allocations: 0.5148 MB / 0.8942 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.671e-05/0.8955, allocations: 47.78 kB / 0.8943 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.8967, allocations: 143.7 kB / 0.8944 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.8968, allocations: 87.97 kB / 0.8945 GB, free: 6.312 MB / 0.6856 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.0004993/0.8973, allocations: 295.5 kB / 0.8948 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.8976, allocations: 94.88 kB / 0.8948 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.9003, allocations: 1.825 MB / 0.8966 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.9003, allocations: 8 kB / 0.8966 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.9003, allocations: 4 kB / 0.8966 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.9003, allocations: 3.984 kB / 0.8966 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.9121, allocations: 9.034 MB / 0.9055 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.9121, allocations: 8 kB / 0.9055 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.9133, allocations: 247.6 kB / 0.9057 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/0.9133, allocations: 16 kB / 0.9057 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/0.9134, allocations: 32.58 kB / 0.9058 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-05/0.9134, allocations: 19.94 kB / 0.9058 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/0.9134, allocations: 23.88 kB / 0.9058 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.9157, allocations: 1.774 MB / 0.9075 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.9162, allocations: 284 kB / 0.9078 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.9164, allocations: 31.91 kB / 0.9078 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.9171, allocations: 79.83 kB / 0.9079 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.9172, allocations: 91.61 kB / 0.908 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.75e-05/0.9173, allocations: 40 kB / 0.908 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009526/0.9182, allocations: 0.7293 MB / 0.9087 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9182, allocations: 0 / 0.9087 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003201/0.9214, allocations: 0.8047 MB / 0.9095 GB, free: 5.668 MB / 0.7012 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.0003452/0.9218, allocations: 170.8 kB / 0.9097 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004446/0.9262, allocations: 2.998 MB / 0.9126 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.9263, allocations: 4 kB / 0.9126 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007527/0.927, allocations: 0.5805 MB / 0.9132 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.9284, allocations: 170.4 kB / 0.9134 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007644/0.9361, allocations: 4.403 MB / 0.9177 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.9382, allocations: 2.109 MB / 0.9197 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002297/0.9405, allocations: 1.023 MB / 0.9207 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.9408, allocations: 95.41 kB / 0.9208 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/0.9408, allocations: 0 / 0.9208 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.02596/0.9668, allocations: 14.68 MB / 0.9351 GB, free: 11.36 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)