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.005156/0.005156, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001065/0.001065, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 274.7 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9263/0.9263, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 99.83 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1574, allocations: 86.97 MB / 0.7664 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.3603/0.5178, allocations: 16.39 MB / 0.7824 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008375/0.5262, allocations: 5.721 MB / 0.788 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007305/0.5269, allocations: 43.22 kB / 0.788 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003564/0.5305, allocations: 1.543 MB / 0.7896 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.5328, allocations: 0.8364 MB / 0.7904 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.5357, allocations: 1.051 MB / 0.7914 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003402/0.5391, allocations: 3.914 MB / 0.7952 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006174/0.5453, allocations: 5.614 MB / 0.8007 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.5481, allocations: 1.761 MB / 0.8024 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002913/0.551, allocations: 2.095 MB / 0.8045 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005529/0.5516, allocations: 417.1 kB / 0.8049 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.5539, allocations: 1.066 MB / 0.8059 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001807/0.5557, allocations: 1.662 MB / 0.8075 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.5574, allocations: 1.607 MB / 0.8091 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006622/0.564, allocations: 6.059 MB / 0.815 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5641, allocations: 0 / 0.815 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.936e-06/0.5641, allocations: 3.938 kB / 0.815 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000117/0.5642, allocations: 0 / 0.815 GB, free: 8.691 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.005755/0.57, allocations: 2.765 MB / 0.8177 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.57, allocations: 8.594 kB / 0.8177 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.5733, allocations: 0.6638 MB / 0.8184 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.5755, allocations: 1.439 MB / 0.8198 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.5757, allocations: 214 kB / 0.82 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004504/0.5761, allocations: 271.2 kB / 0.8202 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007471/0.5836, allocations: 4.712 MB / 0.8248 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.104e-05/0.5837, allocations: 5.141 kB / 0.8248 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.584, allocations: 120.1 kB / 0.825 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/0.5842, allocations: 149.9 kB / 0.8251 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006193/0.5904, allocations: 4.087 MB / 0.8291 GB, free: 384 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01933/0.6098, allocations: 20.12 MB / 0.8487 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.6127, allocations: 1.899 MB / 0.8506 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009873/0.6137, allocations: 0.7665 MB / 0.8513 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.6139, allocations: 109.7 kB / 0.8515 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.6139, allocations: 43.22 kB / 0.8515 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=77): time 2.875e-06/0.6139, allocations: 0 / 0.8515 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92): time 0.01718/0.6311, allocations: 5.189 MB / 0.8566 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.6312, allocations: 145.5 kB / 0.8567 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.6323, allocations: 0.9646 MB / 0.8576 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/0.6324, allocations: 41.7 kB / 0.8577 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006249/0.633, allocations: 1.187 MB / 0.8588 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.6333, allocations: 335.4 kB / 0.8592 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005646/0.6339, allocations: 363 kB / 0.8595 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.634, allocations: 326 kB / 0.8598 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.6352, allocations: 0.8792 MB / 0.8607 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.6368, allocations: 1.51 MB / 0.8622 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/0.6394, allocations: 2.453 MB / 0.8645 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.6395, allocations: 7.984 kB / 0.8646 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003328/0.6428, allocations: 2.508 MB / 0.867 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.6428, allocations: 12 kB / 0.867 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.6429, allocations: 24 kB / 0.867 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/0.6429, allocations: 28 kB / 0.8671 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002345/0.6452, allocations: 0.5232 MB / 0.8676 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.509e-05/0.6453, allocations: 43.8 kB / 0.8676 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.6463, allocations: 159.6 kB / 0.8678 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.6464, allocations: 83.98 kB / 0.8678 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002626/0.6491, allocations: 1.901 MB / 0.8697 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001496/0.6506, allocations: 1.495 MB / 0.8712 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002611/0.6532, allocations: 2.43 MB / 0.8735 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.515e-06/0.6532, allocations: 8 kB / 0.8735 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003326/0.6566, allocations: 2.491 MB / 0.876 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.6566, allocations: 13.59 kB / 0.876 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.6566, allocations: 24 kB / 0.876 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.6566, allocations: 32 kB / 0.876 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.6589, allocations: 0.5109 MB / 0.8765 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.152e-05/0.6589, allocations: 43.86 kB / 0.8766 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009845/0.6599, allocations: 135.8 kB / 0.8767 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.6601, allocations: 95.97 kB / 0.8768 GB, free: 15.1 MB / 0.6387 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.0003081/0.6604, allocations: 299.5 kB / 0.8771 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.6606, allocations: 98.81 kB / 0.8772 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.6631, allocations: 1.825 MB / 0.879 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.6632, allocations: 8 kB / 0.879 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.6632, allocations: 0 / 0.879 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.6632, allocations: 15.91 kB / 0.879 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009617/0.6728, allocations: 9.058 MB / 0.8878 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.6728, allocations: 12 kB / 0.8878 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.6739, allocations: 251.6 kB / 0.8881 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.6739, allocations: 12.66 kB / 0.8881 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.674, allocations: 32 kB / 0.8881 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.48e-05/0.674, allocations: 27.92 kB / 0.8882 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.674, allocations: 15.88 kB / 0.8882 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.6758, allocations: 1.768 MB / 0.8899 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/0.6761, allocations: 295.8 kB / 0.8902 GB, free: 192 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.6763, allocations: 28 kB / 0.8902 GB, free: 164 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007074/0.677, allocations: 75.89 kB / 0.8903 GB, free: 88 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.6772, allocations: 95.66 kB / 0.8904 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.6772, allocations: 36 kB / 0.8904 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008128/0.678, allocations: 0.7215 MB / 0.8911 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.678, allocations: 0 / 0.8911 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002475/0.6805, allocations: 0.8086 MB / 0.8919 GB, free: 14.43 MB / 0.6544 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.0002457/0.6808, allocations: 167 kB / 0.8921 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003802/0.6846, allocations: 3.006 MB / 0.895 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6846, allocations: 0 / 0.895 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.6853, allocations: 0.5803 MB / 0.8956 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.6866, allocations: 181.1 kB / 0.8957 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006044/0.6926, allocations: 4.402 MB / 0.9 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.6945, allocations: 2.101 MB / 0.9021 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002051/0.6966, allocations: 1.023 MB / 0.9031 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.6969, allocations: 99.41 kB / 0.9032 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of SimCode: time 3.6e-07/0.6969, allocations: 3.938 kB / 0.9032 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of Templates: time 0.02484/0.7217, allocations: 15.21 MB / 0.918 GB, free: 3.578 MB / 0.67 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)