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.001294/0.001294, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.001314/0.001314, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.416/1.416, 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.832/1.832, allocations: 292.3 MB / 0.5495 GB, free: 17.36 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.001637/0.001637, allocations: 68.36 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2398, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.4429/0.6828, allocations: 16.36 MB / 0.8 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009239/0.6921, allocations: 5.743 MB / 0.8056 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.6935, allocations: 47.91 kB / 0.8057 GB, free: 37.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.6975, allocations: 1.535 MB / 0.8072 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.7002, allocations: 0.8298 MB / 0.808 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.7035, allocations: 1.047 MB / 0.809 GB, free: 35.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006071/0.7096, allocations: 3.911 MB / 0.8128 GB, free: 34.26 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008509/0.7182, allocations: 5.675 MB / 0.8184 GB, free: 32.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/0.7219, allocations: 1.738 MB / 0.8201 GB, free: 31.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004603/0.7265, allocations: 2.089 MB / 0.8221 GB, free: 30.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.7277, allocations: 417.8 kB / 0.8225 GB, free: 30.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.7306, allocations: 1.063 MB / 0.8235 GB, free: 30.31 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002328/0.733, allocations: 1.666 MB / 0.8252 GB, free: 29.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002412/0.7354, allocations: 1.599 MB / 0.8267 GB, free: 28.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009939/0.7453, allocations: 6.027 MB / 0.8326 GB, free: 26.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.7454, allocations: 0 / 0.8326 GB, free: 26.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.975e-06/0.7454, allocations: 0 / 0.8326 GB, free: 26.76 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002144/0.7456, allocations: 1.594 kB / 0.8326 GB, free: 26.76 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.01042/0.756, allocations: 2.775 MB / 0.8353 GB, free: 25.17 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.7561, allocations: 7.031 kB / 0.8353 GB, free: 25.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/0.7605, allocations: 0.6603 MB / 0.836 GB, free: 25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.7641, allocations: 1.423 MB / 0.8374 GB, free: 24.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.7643, allocations: 209.5 kB / 0.8376 GB, free: 24.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006564/0.765, allocations: 267.5 kB / 0.8378 GB, free: 24.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01574/0.7807, allocations: 4.726 MB / 0.8424 GB, free: 22.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.592e-05/0.7809, allocations: 1.562 kB / 0.8424 GB, free: 22.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008072/0.7817, allocations: 108.3 kB / 0.8425 GB, free: 21.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00028/0.782, allocations: 152.4 kB / 0.8427 GB, free: 21.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.7961, allocations: 4.084 MB / 0.8467 GB, free: 19.85 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04251/0.8387, allocations: 20.3 MB / 0.8665 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005676/0.8445, allocations: 1.896 MB / 0.8683 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/0.8464, allocations: 0.7642 MB / 0.8691 GB, free: 15.94 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/0.8467, allocations: 107.8 kB / 0.8692 GB, free: 15.83 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.8467, allocations: 44.66 kB / 0.8692 GB, free: 15.78 MB / 0.67 GB Notification: Performance of pre-optimization done (n=77): time 4.709e-06/0.8468, allocations: 0 / 0.8692 GB, free: 15.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=92): time 0.03406/0.8808, allocations: 5.169 MB / 0.8743 GB, free: 12.26 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.881, allocations: 146.6 kB / 0.8744 GB, free: 12.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.8833, allocations: 0.9724 MB / 0.8754 GB, free: 11.11 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.8835, allocations: 45.7 kB / 0.8754 GB, free: 11.06 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.8847, allocations: 1.187 MB / 0.8766 GB, free: 9.852 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005221/0.8853, allocations: 331.4 kB / 0.8769 GB, free: 9.523 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008338/0.8861, allocations: 355.1 kB / 0.8772 GB, free: 9.172 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.8864, allocations: 330 kB / 0.8776 GB, free: 8.844 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.8887, allocations: 0.8753 MB / 0.8784 GB, free: 7.965 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003134/0.8918, allocations: 1.514 MB / 0.8799 GB, free: 6.16 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005563/0.8974, allocations: 2.457 MB / 0.8823 GB, free: 3.402 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/0.8975, allocations: 8 kB / 0.8823 GB, free: 3.395 MB / 0.67 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.006917/0.9044, allocations: 2.508 MB / 0.8847 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.9045, allocations: 19.94 kB / 0.8848 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.686e-05/0.9046, allocations: 27.92 kB / 0.8848 GB, free: 0.832 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.928e-05/0.9046, allocations: 32 kB / 0.8848 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004657/0.9093, allocations: 0.5153 MB / 0.8853 GB, free: 292 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.217e-05/0.9094, allocations: 47.8 kB / 0.8854 GB, free: 244 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.9117, allocations: 151.6 kB / 0.8855 GB, free: 92 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/0.912, allocations: 83.98 kB / 0.8856 GB, free: 8 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00489/0.9169, allocations: 1.909 MB / 0.8875 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003106/0.92, allocations: 1.495 MB / 0.8889 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005431/0.9255, allocations: 2.43 MB / 0.8913 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.052e-05/0.9255, allocations: 4 kB / 0.8913 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.006948/0.9325, allocations: 2.488 MB / 0.8937 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.9326, allocations: 16 kB / 0.8937 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.33e-05/0.9326, allocations: 20 kB / 0.8938 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.264e-05/0.9327, allocations: 32.75 kB / 0.8938 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004577/0.9373, allocations: 0.5187 MB / 0.8943 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.125e-05/0.9374, allocations: 47.84 kB / 0.8943 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.9395, allocations: 139.7 kB / 0.8945 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/0.9398, allocations: 87.98 kB / 0.8946 GB, free: 6.227 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.0006389/0.9404, allocations: 303.5 kB / 0.8948 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.9408, allocations: 90.88 kB / 0.8949 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004964/0.9458, allocations: 1.829 MB / 0.8967 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.9458, allocations: 16 kB / 0.8967 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.9459, allocations: 0 / 0.8967 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.9459, allocations: 3.984 kB / 0.8967 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/0.9625, allocations: 9.025 MB / 0.9056 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.9626, allocations: 12.94 kB / 0.9056 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.9637, allocations: 255.6 kB / 0.9058 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.9637, allocations: 12 kB / 0.9058 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.701e-05/0.9638, allocations: 31.98 kB / 0.9058 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.741e-05/0.9638, allocations: 19.94 kB / 0.9059 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/0.9638, allocations: 19.88 kB / 0.9059 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.9658, allocations: 1.77 MB / 0.9076 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004862/0.9663, allocations: 284 kB / 0.9079 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.9665, allocations: 31.91 kB / 0.9079 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/0.9672, allocations: 83.89 kB / 0.908 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.9673, allocations: 91.61 kB / 0.9081 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.9674, allocations: 35.94 kB / 0.9081 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009787/0.9684, allocations: 0.7293 MB / 0.9088 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9684, allocations: 0 / 0.9088 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002987/0.9714, allocations: 0.8047 MB / 0.9096 GB, free: 5.578 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.0002957/0.9717, allocations: 166.9 kB / 0.9098 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004554/0.9763, allocations: 3.13 MB / 0.9128 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.9763, allocations: 4 kB / 0.9128 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007715/0.9771, allocations: 0.5767 MB / 0.9134 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.9785, allocations: 187.7 kB / 0.9136 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008221/0.9867, allocations: 4.912 MB / 0.9184 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002132/0.9889, allocations: 2.176 MB / 0.9205 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005628/0.9895, allocations: 107.4 kB / 0.9206 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of SimCode: time 1.072e-06/0.9895, allocations: 0 / 0.9206 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of Templates: time 0.04415/1.034, allocations: 26.86 MB / 0.9468 GB, free: 15.3 MB / 0.7481 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)