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.0008058/0.0008057, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0008065/0.0008066, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 286.4 kB / 291.4 MB, free: 1.828 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9992/0.9992, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004716, allocations: 18.38 kB / 0.598 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1754, allocations: 88.55 MB / 0.6845 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01669/0.1922, allocations: 14.89 MB / 0.699 GB, free: 500 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008781/0.201, allocations: 5.388 MB / 0.7043 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.2022, allocations: 36.59 kB / 0.7043 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008504/0.203, allocations: 289.9 kB / 0.7046 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.2052, allocations: 0.6269 MB / 0.7052 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.2075, allocations: 0.6054 MB / 0.7058 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005195/0.2127, allocations: 4.573 MB / 0.7103 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009845/0.2226, allocations: 5.907 MB / 0.716 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.225, allocations: 1.207 MB / 0.7172 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00284/0.2278, allocations: 1.749 MB / 0.7189 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003696/0.2282, allocations: 180 kB / 0.7191 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.2298, allocations: 0.5931 MB / 0.7197 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.2313, allocations: 1.357 MB / 0.721 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006778/0.232, allocations: 0.5122 MB / 0.7215 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004736/0.2368, allocations: 5.084 MB / 0.7265 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2368, allocations: 0 / 0.7265 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2368, allocations: 3.938 kB / 0.7265 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001246/0.2369, allocations: 0 / 0.7265 GB, free: 4.285 MB / 0.5137 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.004565/0.2415, allocations: 2.248 MB / 0.7287 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2416, allocations: 12.03 kB / 0.7287 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/0.2447, allocations: 0.6643 MB / 0.7293 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.2472, allocations: 1.414 MB / 0.7307 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.2473, allocations: 205.6 kB / 0.7309 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004556/0.2478, allocations: 268 kB / 0.7312 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009199/0.257, allocations: 4.7 MB / 0.7358 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/0.2571, allocations: 11.83 kB / 0.7358 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/0.2574, allocations: 112 kB / 0.7359 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/0.2575, allocations: 148.6 kB / 0.736 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007401/0.2649, allocations: 4.07 MB / 0.74 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02613/0.2911, allocations: 20.3 MB / 0.7598 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/0.2941, allocations: 1.891 MB / 0.7617 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.2951, allocations: 0.7431 MB / 0.7624 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.2953, allocations: 113.6 kB / 0.7625 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2953, allocations: 43.16 kB / 0.7625 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=77): time 2.775e-06/0.2953, allocations: 0 / 0.7625 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92): time 0.01602/0.3114, allocations: 5.279 MB / 0.7677 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/0.3115, allocations: 149.6 kB / 0.7678 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.3127, allocations: 0.9606 MB / 0.7688 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.637e-05/0.3128, allocations: 37.7 kB / 0.7688 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007364/0.3136, allocations: 1.184 MB / 0.77 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/0.3139, allocations: 335.4 kB / 0.7703 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.47e-05/0.314, allocations: 36 kB / 0.7703 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.3142, allocations: 402.7 kB / 0.7707 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.3155, allocations: 0.851 MB / 0.7715 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.3171, allocations: 1.499 MB / 0.773 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.3187, allocations: 1.182 MB / 0.7742 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.3187, allocations: 4 kB / 0.7742 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.3473/0.666, allocations: 2.474 MB / 0.7766 GB, free: 85.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003896/0.6664, allocations: 0.7083 MB / 0.7773 GB, free: 85.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/0.6665, allocations: 21.31 kB / 0.7773 GB, free: 85.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.899e-05/0.6666, allocations: 34.12 kB / 0.7773 GB, free: 85.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/0.6689, allocations: 0.5212 MB / 0.7778 GB, free: 85.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.72e-05/0.669, allocations: 42.69 kB / 0.7779 GB, free: 85.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.67, allocations: 155.5 kB / 0.778 GB, free: 85.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.6702, allocations: 86.28 kB / 0.7781 GB, free: 85.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.6702, allocations: 4.312 kB / 0.7781 GB, free: 85.01 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003448/0.6736, allocations: 2.379 MB / 0.7804 GB, free: 84.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/0.6737, allocations: 21.53 kB / 0.7804 GB, free: 84.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.895e-05/0.6737, allocations: 36.31 kB / 0.7805 GB, free: 84.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/0.6759, allocations: 0.5132 MB / 0.781 GB, free: 84.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.934e-05/0.6759, allocations: 46.17 kB / 0.781 GB, free: 84.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009525/0.6769, allocations: 135.7 kB / 0.7812 GB, free: 84.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.6771, allocations: 87.58 kB / 0.7812 GB, free: 84.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002195/0.6793, allocations: 1.223 MB / 0.7824 GB, free: 83.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.6795, allocations: 93.97 kB / 0.7825 GB, free: 83.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.682, allocations: 1.845 MB / 0.7843 GB, free: 82.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.682, allocations: 7.719 kB / 0.7843 GB, free: 82.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.682, allocations: 2.219 kB / 0.7843 GB, free: 82.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.682, allocations: 3.516 kB / 0.7843 GB, free: 82.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009388/0.6914, allocations: 9.052 MB / 0.7932 GB, free: 76.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.6915, allocations: 11.34 kB / 0.7932 GB, free: 76.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000983/0.6924, allocations: 246.3 kB / 0.7934 GB, free: 76.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.17e-05/0.6925, allocations: 22.06 kB / 0.7934 GB, free: 76.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.6925, allocations: 32.3 kB / 0.7935 GB, free: 76.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.738e-05/0.6926, allocations: 21.11 kB / 0.7935 GB, free: 76.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/0.6926, allocations: 14.84 kB / 0.7935 GB, free: 76.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.6943, allocations: 1.767 MB / 0.7952 GB, free: 75.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.6948, allocations: 324.1 kB / 0.7955 GB, free: 75.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.6949, allocations: 35.95 kB / 0.7956 GB, free: 75.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/0.6956, allocations: 74.75 kB / 0.7956 GB, free: 75.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.6957, allocations: 83.28 kB / 0.7957 GB, free: 74.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/0.6958, allocations: 39.45 kB / 0.7958 GB, free: 74.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001029/0.6968, allocations: 0.721 MB / 0.7965 GB, free: 74.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6969, allocations: 4 kB / 0.7965 GB, free: 74.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002927/0.6998, allocations: 0.8076 MB / 0.7973 GB, free: 74.62 MB / 0.5606 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 (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.000275/0.7001, allocations: 166.6 kB / 0.7974 GB, free: 74.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005202/0.7053, allocations: 2.946 MB / 0.8003 GB, free: 73.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.7053, allocations: 7 kB / 0.8003 GB, free: 73.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000862/0.7062, allocations: 0.5771 MB / 0.8009 GB, free: 73.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.7076, allocations: 171.4 kB / 0.801 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008018/0.7157, allocations: 5.332 MB / 0.8062 GB, free: 70.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/0.7178, allocations: 2.112 MB / 0.8083 GB, free: 69.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002879/0.7207, allocations: 1.019 MB / 0.8093 GB, free: 68.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.721, allocations: 94.33 kB / 0.8094 GB, free: 68.94 MB / 0.5606 GB Notification: Performance of SimCode: time 1.173e-06/0.7211, allocations: 1.062 kB / 0.8094 GB, free: 68.94 MB / 0.5606 GB Notification: Performance of Templates: time 0.02139/0.7425, allocations: 13.77 MB / 0.8228 GB, free: 60.5 MB / 0.5606 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)