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.005189/0.005189, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001127/0.001127, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001966/0.001966, allocations: 290.5 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9129/0.9129, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 95.86 kB / 0.6815 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4378, allocations: 86.97 MB / 0.7664 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02009/0.4579, allocations: 16.4 MB / 0.7824 GB, free: 3.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008878/0.4668, allocations: 5.716 MB / 0.788 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008902/0.4677, allocations: 47.88 kB / 0.788 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003668/0.4715, allocations: 1.535 MB / 0.7895 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.4739, allocations: 0.8403 MB / 0.7904 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.4764, allocations: 1.07 MB / 0.7914 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00381/0.4803, allocations: 3.902 MB / 0.7952 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005724/0.486, allocations: 5.618 MB / 0.8007 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.4884, allocations: 1.753 MB / 0.8024 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002543/0.4909, allocations: 2.096 MB / 0.8045 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004741/0.4914, allocations: 416 kB / 0.8049 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.4931, allocations: 1.069 MB / 0.8059 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.4947, allocations: 1.661 MB / 0.8075 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.4963, allocations: 1.603 MB / 0.8091 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005479/0.5017, allocations: 6.061 MB / 0.815 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5018, allocations: 0 / 0.815 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5018, allocations: 0 / 0.815 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.899e-05/0.5019, allocations: 0 / 0.815 GB, free: 1.957 MB / 0.5762 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.005153/0.507, allocations: 2.767 MB / 0.8177 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.5071, allocations: 12.03 kB / 0.8177 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/0.5101, allocations: 0.6613 MB / 0.8184 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.5125, allocations: 1.438 MB / 0.8198 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.5126, allocations: 206 kB / 0.82 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004133/0.5131, allocations: 268.4 kB / 0.8202 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007161/0.5202, allocations: 4.723 MB / 0.8248 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.817e-05/0.5203, allocations: 4 kB / 0.8248 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002749/0.5206, allocations: 116 kB / 0.825 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.5207, allocations: 152.6 kB / 0.8251 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006055/0.5268, allocations: 4.085 MB / 0.8291 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0203/0.5471, allocations: 20.12 MB / 0.8487 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/0.5501, allocations: 1.891 MB / 0.8506 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.5512, allocations: 0.7626 MB / 0.8513 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.5513, allocations: 109.7 kB / 0.8514 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.5514, allocations: 47.22 kB / 0.8515 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=77): time 4.137e-06/0.5514, allocations: 0 / 0.8515 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92): time 0.01578/0.5672, allocations: 5.189 MB / 0.8566 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.5673, allocations: 141.6 kB / 0.8567 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.5684, allocations: 0.9762 MB / 0.8576 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.5685, allocations: 37.7 kB / 0.8577 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000654/0.5692, allocations: 1.187 MB / 0.8588 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.5694, allocations: 331.4 kB / 0.8592 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000501/0.5699, allocations: 359.1 kB / 0.8595 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.5701, allocations: 326 kB / 0.8598 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.5712, allocations: 0.883 MB / 0.8607 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.5728, allocations: 1.511 MB / 0.8621 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/0.5756, allocations: 2.457 MB / 0.8645 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.5756, allocations: 8 kB / 0.8646 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003489/0.5791, allocations: 2.507 MB / 0.867 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.5791, allocations: 16 kB / 0.867 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.5792, allocations: 20.84 kB / 0.867 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.644e-05/0.5792, allocations: 32 kB / 0.8671 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.5814, allocations: 0.5148 MB / 0.8676 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.794e-05/0.5815, allocations: 47.84 kB / 0.8676 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009295/0.5824, allocations: 155.4 kB / 0.8678 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.5825, allocations: 87.97 kB / 0.8678 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0026/0.5851, allocations: 1.907 MB / 0.8697 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001608/0.5868, allocations: 1.499 MB / 0.8712 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002804/0.5896, allocations: 2.426 MB / 0.8735 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.003e-05/0.5896, allocations: 11.94 kB / 0.8736 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003449/0.593, allocations: 2.486 MB / 0.876 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.5931, allocations: 16 kB / 0.876 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.5931, allocations: 24.12 kB / 0.876 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.5931, allocations: 32 kB / 0.876 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/0.5952, allocations: 0.5109 MB / 0.8765 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-05/0.5953, allocations: 39.86 kB / 0.8766 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009188/0.5962, allocations: 147.7 kB / 0.8767 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.5963, allocations: 87.98 kB / 0.8768 GB, free: 15.01 MB / 0.6544 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.0003592/0.5967, allocations: 295.5 kB / 0.8771 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.5969, allocations: 94.88 kB / 0.8772 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.5994, allocations: 1.829 MB / 0.879 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.5994, allocations: 8 kB / 0.879 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5994, allocations: 8 kB / 0.879 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.5995, allocations: 3.984 kB / 0.879 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009657/0.6091, allocations: 9.049 MB / 0.8878 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.6092, allocations: 12 kB / 0.8878 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009821/0.6101, allocations: 252.4 kB / 0.8881 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.728e-05/0.6102, allocations: 20 kB / 0.8881 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.6102, allocations: 31.94 kB / 0.8881 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/0.6103, allocations: 23.92 kB / 0.8881 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/0.6103, allocations: 19.88 kB / 0.8882 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.6121, allocations: 1.76 MB / 0.8899 GB, free: 432 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.6125, allocations: 287.9 kB / 0.8902 GB, free: 124 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.6126, allocations: 31.98 kB / 0.8902 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006516/0.6132, allocations: 71.91 kB / 0.8903 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.6134, allocations: 99.55 kB / 0.8904 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.6135, allocations: 43.98 kB / 0.8904 GB, free: 15.88 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008115/0.6143, allocations: 0.7214 MB / 0.8911 GB, free: 15.16 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6143, allocations: 4 kB / 0.8911 GB, free: 15.15 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002478/0.6168, allocations: 0.8086 MB / 0.8919 GB, free: 14.34 MB / 0.67 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.0002384/0.617, allocations: 166.9 kB / 0.8921 GB, free: 14.17 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003849/0.6209, allocations: 2.998 MB / 0.895 GB, free: 11.18 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6209, allocations: 4 kB / 0.895 GB, free: 11.17 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007026/0.6216, allocations: 0.5764 MB / 0.8955 GB, free: 10.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.6228, allocations: 182 kB / 0.8957 GB, free: 10.43 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006068/0.6289, allocations: 4.41 MB / 0.9 GB, free: 5.852 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001788/0.6307, allocations: 2.105 MB / 0.9021 GB, free: 3.711 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00206/0.6328, allocations: 1.019 MB / 0.9031 GB, free: 2.688 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.6331, allocations: 99.41 kB / 0.9032 GB, free: 2.59 MB / 0.67 GB Notification: Performance of SimCode: time 4.11e-07/0.6331, allocations: 0 / 0.9032 GB, free: 2.59 MB / 0.67 GB Notification: Performance of Templates: time 0.02403/0.6571, allocations: 15.22 MB / 0.918 GB, free: 3.492 MB / 0.6856 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)