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.001119/0.001119, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001316/0.001316, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.799/1.799, allocations: 292.5 MB / 0.5497 GB, free: 14.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.0005056/0.0005057, allocations: 11.91 kB / 0.6735 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.25, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01583/0.2659, allocations: 14.62 MB / 0.8014 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008588/0.2745, allocations: 5.381 MB / 0.8067 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009564/0.2755, allocations: 31.94 kB / 0.8067 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007026/0.2762, allocations: 326 kB / 0.807 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.2774, allocations: 458.6 kB / 0.8074 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.2791, allocations: 0.6393 MB / 0.8081 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.281, allocations: 1.614 MB / 0.8096 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007749/0.2887, allocations: 5.884 MB / 0.8154 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.2903, allocations: 0.9659 MB / 0.8163 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.2917, allocations: 1.129 MB / 0.8174 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.292, allocations: 180 kB / 0.8176 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.2932, allocations: 0.5658 MB / 0.8182 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.2943, allocations: 1.252 MB / 0.8194 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005101/0.2948, allocations: 0.5122 MB / 0.8199 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004452/0.2993, allocations: 5.069 MB / 0.8248 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2993, allocations: 4 kB / 0.8248 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2993, allocations: 0 / 0.8248 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001038/0.2994, allocations: 0 / 0.8248 GB, free: 5.227 MB / 0.6387 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.00478/0.3042, allocations: 2.248 MB / 0.827 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3043, allocations: 12.03 kB / 0.827 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.3076, allocations: 0.7228 MB / 0.8277 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.3105, allocations: 1.41 MB / 0.8291 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.3106, allocations: 205.6 kB / 0.8293 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.311, allocations: 272 kB / 0.8296 GB, free: 264 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007027/0.318, allocations: 4.672 MB / 0.8341 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.727e-05/0.3181, allocations: 4 kB / 0.8341 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002933/0.3184, allocations: 116 kB / 0.8343 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.3186, allocations: 148.6 kB / 0.8344 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006511/0.3251, allocations: 4.07 MB / 0.8384 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0236/0.3487, allocations: 20.42 MB / 0.8583 GB, free: 0.75 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.352, allocations: 1.94 MB / 0.8602 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.3522, allocations: 109.7 kB / 0.8603 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.3523, allocations: 47.22 kB / 0.8604 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 3.226e-06/0.3523, allocations: 0 / 0.8604 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=77): time 0.002569/0.3549, allocations: 1.711 MB / 0.862 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.355, allocations: 137.2 kB / 0.8622 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.3563, allocations: 0.9645 MB / 0.8631 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.3563, allocations: 37.7 kB / 0.8631 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000708/0.3571, allocations: 1.179 MB / 0.8643 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.3573, allocations: 288.1 kB / 0.8646 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.3574, allocations: 32 kB / 0.8646 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3576, allocations: 395 kB / 0.865 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.3586, allocations: 0.7807 MB / 0.8657 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.3599, allocations: 1.413 MB / 0.8671 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.3612, allocations: 1.092 MB / 0.8682 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.3612, allocations: 8 kB / 0.8682 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003024/0.3643, allocations: 2.305 MB / 0.8704 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.003718/0.368, allocations: 8.359 MB / 0.8786 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.509e-05/0.368, allocations: 20 kB / 0.8786 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.92e-05/0.3681, allocations: 32 kB / 0.8786 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.3698, allocations: 443.2 kB / 0.8791 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.191e-05/0.3698, allocations: 43.86 kB / 0.8791 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.371, allocations: 261.9 kB / 0.8794 GB, free: 9.969 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.3711, allocations: 79.98 kB / 0.8794 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.3712, allocations: 4 kB / 0.8794 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003057/0.3742, allocations: 2.199 MB / 0.8816 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.3743, allocations: 27.94 kB / 0.8816 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.056e-05/0.3743, allocations: 32 kB / 0.8816 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.3758, allocations: 443.2 kB / 0.8821 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.598e-05/0.3759, allocations: 43.8 kB / 0.8821 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009582/0.3768, allocations: 202.9 kB / 0.8823 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.3769, allocations: 76 kB / 0.8824 GB, free: 6.883 MB / 0.7012 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 (196): * Single equations (assignments): 196 * 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.002315/0.3793, allocations: 1.207 MB / 0.8836 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.3796, allocations: 90.92 kB / 0.8836 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.3818, allocations: 1.548 MB / 0.8852 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.3818, allocations: 8 kB / 0.8852 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3818, allocations: 0 / 0.8852 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3818, allocations: 3.984 kB / 0.8852 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008469/0.3903, allocations: 6.633 MB / 0.8916 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.3903, allocations: 8 kB / 0.8917 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/0.391, allocations: 187.7 kB / 0.8918 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.536e-05/0.3911, allocations: 12.78 kB / 0.8918 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.3911, allocations: 20 kB / 0.8919 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.707e-05/0.3911, allocations: 23.92 kB / 0.8919 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.3911, allocations: 11.94 kB / 0.8919 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.393, allocations: 1.971 MB / 0.8938 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/0.3936, allocations: 327.7 kB / 0.8941 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.3937, allocations: 20 kB / 0.8942 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006349/0.3943, allocations: 75.89 kB / 0.8942 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3945, allocations: 71.72 kB / 0.8943 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.3945, allocations: 31.94 kB / 0.8943 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009316/0.3954, allocations: 0.7215 MB / 0.895 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3955, allocations: 0 / 0.895 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003246/0.3987, allocations: 1.181 MB / 0.8962 GB, free: 7.73 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (71): * Single equations (assignments): 71 * 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.0002585/0.399, allocations: 139 kB / 0.8963 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003701/0.4027, allocations: 2.711 MB / 0.899 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4027, allocations: 0.875 kB / 0.899 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006379/0.4033, allocations: 0.519 MB / 0.8995 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/0.4042, allocations: 147.5 kB / 0.8996 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006539/0.4107, allocations: 5.058 MB / 0.9045 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/0.4126, allocations: 2.113 MB / 0.9066 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002103/0.4147, allocations: 0.9604 MB / 0.9075 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.415, allocations: 87.42 kB / 0.9076 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/0.415, allocations: 0 / 0.9076 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.4431/0.8581, allocations: 11.99 MB / 0.9193 GB, free: 124.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: