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.0008723/0.0008721, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005594/0.005594, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001903/0.001903, allocations: 278.4 kB / 291.7 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9412/0.9412, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004171, allocations: 14.47 kB / 0.5987 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1632, allocations: 88.54 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01702/0.1802, allocations: 15.73 MB / 0.7005 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008999/0.1893, allocations: 5.689 MB / 0.7061 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.1904, allocations: 35.88 kB / 0.7061 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007843/0.1912, allocations: 293.9 kB / 0.7064 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.1931, allocations: 0.7775 MB / 0.7071 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.195, allocations: 0.7851 MB / 0.7079 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005318/0.2003, allocations: 6.041 MB / 0.7138 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009114/0.2094, allocations: 6.762 MB / 0.7204 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.2114, allocations: 1.179 MB / 0.7216 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.2138, allocations: 1.799 MB / 0.7233 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002895/0.2141, allocations: 183.9 kB / 0.7235 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.2158, allocations: 0.9828 MB / 0.7244 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.217, allocations: 1.368 MB / 0.7258 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.2183, allocations: 1.281 MB / 0.727 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004905/0.2232, allocations: 5.779 MB / 0.7327 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2233, allocations: 0 / 0.7327 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2233, allocations: 0 / 0.7327 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.586e-05/0.2234, allocations: 4 kB / 0.7327 GB, free: 14.17 MB / 0.5294 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.004156/0.2275, allocations: 2.228 MB / 0.7349 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2276, allocations: 8.031 kB / 0.7349 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/0.2308, allocations: 0.6652 MB / 0.7355 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.2328, allocations: 1.423 MB / 0.7369 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.233, allocations: 210 kB / 0.7371 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.2334, allocations: 268.4 kB / 0.7374 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007425/0.2409, allocations: 4.719 MB / 0.742 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.974e-05/0.2409, allocations: 0 / 0.742 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/0.2412, allocations: 116 kB / 0.7421 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.2414, allocations: 152.6 kB / 0.7422 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005948/0.2474, allocations: 4.09 MB / 0.7462 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/0.2679, allocations: 20.31 MB / 0.766 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.2709, allocations: 1.887 MB / 0.7679 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.272, allocations: 0.7431 MB / 0.7686 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.2721, allocations: 109.7 kB / 0.7687 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.2722, allocations: 47.16 kB / 0.7688 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=77): time 2.435e-06/0.2722, allocations: 0 / 0.7688 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92): time 0.01812/0.2903, allocations: 5.291 MB / 0.7739 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/0.2905, allocations: 137.5 kB / 0.7741 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.2919, allocations: 0.9724 MB / 0.775 GB, free: 408 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.292, allocations: 41.7 kB / 0.7751 GB, free: 360 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.3106/0.6027, allocations: 1.177 MB / 0.7762 GB, free: 87.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/0.6031, allocations: 330.4 kB / 0.7765 GB, free: 87.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.6033, allocations: 139.1 kB / 0.7767 GB, free: 87.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.6034, allocations: 329.5 kB / 0.777 GB, free: 86.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.6049, allocations: 0.8653 MB / 0.7778 GB, free: 86.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.6065, allocations: 1.513 MB / 0.7793 GB, free: 86.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/0.6092, allocations: 2.458 MB / 0.7817 GB, free: 84.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.6093, allocations: 6.094 kB / 0.7817 GB, free: 84.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003505/0.6128, allocations: 2.51 MB / 0.7841 GB, free: 83.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003342/0.6131, allocations: 0.7157 MB / 0.7848 GB, free: 82.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/0.6132, allocations: 21.25 kB / 0.7849 GB, free: 82.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.745e-05/0.6132, allocations: 30.12 kB / 0.7849 GB, free: 82.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.6155, allocations: 0.5095 MB / 0.7854 GB, free: 82.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.642e-05/0.6156, allocations: 48.06 kB / 0.7854 GB, free: 82.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.6166, allocations: 159.5 kB / 0.7856 GB, free: 82.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.6168, allocations: 92.47 kB / 0.7857 GB, free: 82.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.445e-06/0.6168, allocations: 2.875 kB / 0.7857 GB, free: 82.46 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003063/0.6199, allocations: 2.383 MB / 0.788 GB, free: 81.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.6199, allocations: 22.56 kB / 0.788 GB, free: 81.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.366e-05/0.6199, allocations: 31.41 kB / 0.7881 GB, free: 81.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.6222, allocations: 0.5112 MB / 0.7886 GB, free: 81.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.128e-05/0.6223, allocations: 47.39 kB / 0.7886 GB, free: 81.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009941/0.6233, allocations: 137.3 kB / 0.7887 GB, free: 81.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.6234, allocations: 86.36 kB / 0.7888 GB, free: 81.43 MB / 0.5606 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.002346/0.6258, allocations: 1.23 MB / 0.79 GB, free: 80.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.626, allocations: 94.56 kB / 0.7901 GB, free: 80.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002836/0.6289, allocations: 1.832 MB / 0.7919 GB, free: 79.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.6289, allocations: 10.38 kB / 0.7919 GB, free: 79.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6289, allocations: 3.125 kB / 0.7919 GB, free: 79.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.6289, allocations: 8.344 kB / 0.7919 GB, free: 79.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.6396, allocations: 9.053 MB / 0.8008 GB, free: 73.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/0.6397, allocations: 10.84 kB / 0.8008 GB, free: 73.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.6409, allocations: 254 kB / 0.801 GB, free: 73.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.772e-05/0.6409, allocations: 20.25 kB / 0.801 GB, free: 73.33 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/0.641, allocations: 29.72 kB / 0.8011 GB, free: 73.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.469e-05/0.641, allocations: 22.14 kB / 0.8011 GB, free: 73.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.336e-05/0.641, allocations: 15.47 kB / 0.8011 GB, free: 73.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.6432, allocations: 1.768 MB / 0.8028 GB, free: 72.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/0.6436, allocations: 326.3 kB / 0.8031 GB, free: 71.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.6437, allocations: 31.72 kB / 0.8032 GB, free: 71.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007139/0.6445, allocations: 76.14 kB / 0.8032 GB, free: 71.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.6446, allocations: 92.84 kB / 0.8033 GB, free: 71.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/0.6447, allocations: 34.25 kB / 0.8034 GB, free: 71.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008881/0.6456, allocations: 0.7275 MB / 0.8041 GB, free: 71.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6456, allocations: 1.031 kB / 0.8041 GB, free: 71.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002898/0.6485, allocations: 0.8015 MB / 0.8049 GB, free: 71.46 MB / 0.5606 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.0002484/0.6487, allocations: 179.9 kB / 0.805 GB, free: 71.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003955/0.6527, allocations: 2.969 MB / 0.8079 GB, free: 70.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.6527, allocations: 1.438 kB / 0.8079 GB, free: 70.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006946/0.6534, allocations: 0.5819 MB / 0.8085 GB, free: 70.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.6556, allocations: 177.4 kB / 0.8087 GB, free: 70 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006149/0.6618, allocations: 5.56 MB / 0.8141 GB, free: 66.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/0.6633, allocations: 2.101 MB / 0.8161 GB, free: 65.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002171/0.6654, allocations: 1.029 MB / 0.8171 GB, free: 65.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.6657, allocations: 100.4 kB / 0.8172 GB, free: 65.05 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.6657, allocations: 0 / 0.8172 GB, free: 65.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.01874/0.6845, allocations: 13.99 MB / 0.8309 GB, free: 53.36 MB / 0.5606 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)