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.0009168/0.0009172, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007118/0.007119, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.767/1.767, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.83/1.83, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005878/0.0005878, allocations: 11.94 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3122, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.019/0.3313, allocations: 15.73 MB / 0.8033 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.3429, allocations: 5.707 MB / 0.8088 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.3449, allocations: 35.94 kB / 0.8089 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.3463, allocations: 282 kB / 0.8091 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003012/0.3494, allocations: 0.7903 MB / 0.8099 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.3531, allocations: 0.7722 MB / 0.8107 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007977/0.3611, allocations: 6.047 MB / 0.8166 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01257/0.3737, allocations: 6.752 MB / 0.8232 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.3769, allocations: 1.179 MB / 0.8243 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004217/0.3811, allocations: 1.795 MB / 0.8261 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.3822, allocations: 180 kB / 0.8262 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.3855, allocations: 0.9828 MB / 0.8272 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003001/0.3885, allocations: 1.36 MB / 0.8285 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003524/0.392, allocations: 1.293 MB / 0.8298 GB, free: 496 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00873/0.4008, allocations: 5.767 MB / 0.8354 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4009, allocations: 0 / 0.8354 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.096e-06/0.4009, allocations: 0 / 0.8354 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001889/0.4011, allocations: 4 kB / 0.8354 GB, free: 10.7 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.006512/0.4076, allocations: 2.225 MB / 0.8376 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4077, allocations: 8.031 kB / 0.8376 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003819/0.4115, allocations: 0.6613 MB / 0.8382 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003172/0.4147, allocations: 1.423 MB / 0.8396 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.4149, allocations: 217.9 kB / 0.8398 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009589/0.4159, allocations: 272.3 kB / 0.8401 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/0.4275, allocations: 4.714 MB / 0.8447 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/0.4277, allocations: 0 / 0.8447 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00032/0.428, allocations: 116 kB / 0.8448 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001838/0.4282, allocations: 152.6 kB / 0.845 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008667/0.4369, allocations: 4.085 MB / 0.8489 GB, free: 12.62 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02633/0.4632, allocations: 20.32 MB / 0.8688 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/0.4665, allocations: 1.897 MB / 0.8706 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.4677, allocations: 0.7586 MB / 0.8714 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.4679, allocations: 105.7 kB / 0.8715 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.4679, allocations: 39.22 kB / 0.8715 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.805e-06/0.4679, allocations: 0 / 0.8715 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.02079/0.4887, allocations: 5.275 MB / 0.8767 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.4889, allocations: 141.5 kB / 0.8768 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.4907, allocations: 0.9723 MB / 0.8778 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.4908, allocations: 49.58 kB / 0.8778 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009674/0.4918, allocations: 1.183 MB / 0.879 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/0.4925, allocations: 327.4 kB / 0.8793 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.4927, allocations: 141.6 kB / 0.8794 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0003808/0.4931, allocations: 338 kB / 0.8797 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.495, allocations: 0.8627 MB / 0.8806 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.497, allocations: 1.507 MB / 0.882 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003724/0.5007, allocations: 2.457 MB / 0.8844 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/0.5007, allocations: 8 kB / 0.8844 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004534/0.5053, allocations: 2.507 MB / 0.8869 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007473/0.5061, allocations: 0.7104 MB / 0.8876 GB, free: 1.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/0.5061, allocations: 20 kB / 0.8876 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.018e-05/0.5062, allocations: 35.98 kB / 0.8876 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/0.5086, allocations: 0.5148 MB / 0.8881 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-05/0.5087, allocations: 51.8 kB / 0.8882 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.51, allocations: 147.6 kB / 0.8883 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/0.5102, allocations: 91.92 kB / 0.8884 GB, free: 1.043 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.5102, allocations: 4 kB / 0.8884 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003903/0.5142, allocations: 2.39 MB / 0.8908 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.5143, allocations: 24 kB / 0.8908 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/0.5143, allocations: 28.09 kB / 0.8908 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/0.5166, allocations: 0.5187 MB / 0.8913 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.386e-05/0.5167, allocations: 43.8 kB / 0.8914 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.5178, allocations: 127.7 kB / 0.8915 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.5179, allocations: 91.97 kB / 0.8916 GB, free: 13.82 MB / 0.7169 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.002667/0.5206, allocations: 1.227 MB / 0.8928 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/0.521, allocations: 94.91 kB / 0.8929 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/0.5243, allocations: 1.836 MB / 0.8947 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.5243, allocations: 12 kB / 0.8947 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.5243, allocations: 0 / 0.8947 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.5243, allocations: 3.984 kB / 0.8947 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.5379, allocations: 9.034 MB / 0.9035 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.538, allocations: 12.03 kB / 0.9035 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.5391, allocations: 255.6 kB / 0.9037 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-05/0.5391, allocations: 12 kB / 0.9038 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.5392, allocations: 28 kB / 0.9038 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.5392, allocations: 19.88 kB / 0.9038 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.5393, allocations: 19.92 kB / 0.9038 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.5418, allocations: 1.774 MB / 0.9056 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006608/0.5425, allocations: 327.8 kB / 0.9059 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.5427, allocations: 28 kB / 0.9059 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.5434, allocations: 75.89 kB / 0.906 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.5435, allocations: 91.61 kB / 0.9061 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/0.5436, allocations: 36 kB / 0.9061 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001004/0.5446, allocations: 0.7254 MB / 0.9068 GB, free: 13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5446, allocations: 0 / 0.9068 GB, free: 13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003238/0.5479, allocations: 0.8047 MB / 0.9076 GB, free: 12.19 MB / 0.7325 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.0003568/0.5482, allocations: 174.9 kB / 0.9077 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004906/0.5532, allocations: 2.967 MB / 0.9106 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.5532, allocations: 0 / 0.9106 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008925/0.5541, allocations: 0.5845 MB / 0.9112 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.5567, allocations: 174.1 kB / 0.9114 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.5668, allocations: 5.564 MB / 0.9168 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003063/0.5699, allocations: 2.105 MB / 0.9189 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.4725/1.042, allocations: 1.017 MB / 0.9199 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/1.043, allocations: 93.97 kB / 0.92 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/1.043, allocations: 0 / 0.92 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.03294/1.076, allocations: 13.99 MB / 0.9336 GB, free: 122.8 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: