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.001359/0.001359, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001345/0.001345, allocations: 193.9 kB / 16.14 MB, free: 6.715 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002553/0.002553, allocations: 294.1 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 98.28 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1792, allocations: 89.15 MB / 0.6928 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02102/0.2003, allocations: 16.31 MB / 0.7087 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009404/0.2097, allocations: 5.756 MB / 0.7144 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.2104, allocations: 35.94 kB / 0.7144 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003469/0.2139, allocations: 1.438 MB / 0.7158 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.2159, allocations: 0.7787 MB / 0.7165 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.2186, allocations: 0.9553 MB / 0.7175 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005878/0.2245, allocations: 6.039 MB / 0.7234 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008594/0.2331, allocations: 6.339 MB / 0.7296 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.2354, allocations: 1.453 MB / 0.731 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.2381, allocations: 2.154 MB / 0.7331 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004763/0.2386, allocations: 300 kB / 0.7334 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.2408, allocations: 1.096 MB / 0.7344 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.2424, allocations: 1.532 MB / 0.7359 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001766/0.2442, allocations: 1.467 MB / 0.7374 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006033/0.2503, allocations: 5.98 MB / 0.7432 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2503, allocations: 0 / 0.7432 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2503, allocations: 0 / 0.7432 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.104e-05/0.2504, allocations: 0 / 0.7432 GB, free: 0.9922 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.005486/0.2559, allocations: 2.763 MB / 0.7459 GB, free: 14.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2559, allocations: 12.03 kB / 0.7459 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003272/0.2592, allocations: 0.6614 MB / 0.7466 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.2616, allocations: 1.427 MB / 0.748 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.2618, allocations: 206 kB / 0.7482 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004338/0.2622, allocations: 276.3 kB / 0.7484 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007763/0.27, allocations: 4.723 MB / 0.753 GB, free: 6.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/0.2701, allocations: 0 / 0.753 GB, free: 6.742 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002975/0.2704, allocations: 112 kB / 0.7531 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/0.2706, allocations: 156.6 kB / 0.7533 GB, free: 6.477 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006618/0.2772, allocations: 4.085 MB / 0.7573 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3367/0.6139, allocations: 20.28 MB / 0.7771 GB, free: 49.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/0.6174, allocations: 1.905 MB / 0.7789 GB, free: 48.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.6186, allocations: 0.7627 MB / 0.7797 GB, free: 48.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.6188, allocations: 109.8 kB / 0.7798 GB, free: 48.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.6188, allocations: 42.67 kB / 0.7798 GB, free: 48.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=77): time 3.165e-06/0.6188, allocations: 5.25 kB / 0.7798 GB, free: 48.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=92): time 0.01757/0.6364, allocations: 5.172 MB / 0.7849 GB, free: 46.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.6365, allocations: 148.4 kB / 0.785 GB, free: 46.08 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.6378, allocations: 0.9713 MB / 0.786 GB, free: 45.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/0.6379, allocations: 40.61 kB / 0.786 GB, free: 45.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006112/0.6385, allocations: 1.186 MB / 0.7872 GB, free: 44.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.6387, allocations: 332.3 kB / 0.7875 GB, free: 44.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005304/0.6393, allocations: 356.2 kB / 0.7878 GB, free: 44.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.181e-05/0.6394, allocations: 327.8 kB / 0.7881 GB, free: 44.01 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.6406, allocations: 0.8819 MB / 0.789 GB, free: 43.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.6421, allocations: 1.505 MB / 0.7905 GB, free: 42.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/0.6447, allocations: 2.457 MB / 0.7929 GB, free: 40.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.6447, allocations: 5.562 kB / 0.7929 GB, free: 40.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003629/0.6484, allocations: 2.507 MB / 0.7953 GB, free: 39.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.6484, allocations: 19.56 kB / 0.7954 GB, free: 39.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/0.6484, allocations: 20.97 kB / 0.7954 GB, free: 39.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.733e-05/0.6485, allocations: 31.59 kB / 0.7954 GB, free: 39.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.6508, allocations: 0.5178 MB / 0.7959 GB, free: 39.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.233e-05/0.6509, allocations: 50.33 kB / 0.796 GB, free: 39.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.652, allocations: 157.2 kB / 0.7961 GB, free: 39.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.6521, allocations: 84.3 kB / 0.7962 GB, free: 39.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002398/0.6545, allocations: 1.901 MB / 0.798 GB, free: 38.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001376/0.6559, allocations: 1.497 MB / 0.7995 GB, free: 37.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00256/0.6585, allocations: 2.429 MB / 0.8019 GB, free: 35.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-05/0.6585, allocations: 14.17 kB / 0.8019 GB, free: 35.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003383/0.6619, allocations: 2.481 MB / 0.8043 GB, free: 34.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.6619, allocations: 14.62 kB / 0.8043 GB, free: 34.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.662, allocations: 26.61 kB / 0.8044 GB, free: 34.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/0.662, allocations: 34.72 kB / 0.8044 GB, free: 34.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.6642, allocations: 0.5105 MB / 0.8049 GB, free: 34.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.39e-05/0.6643, allocations: 42.7 kB / 0.8049 GB, free: 34.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.6653, allocations: 145.2 kB / 0.8051 GB, free: 33.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.6655, allocations: 88.83 kB / 0.8051 GB, free: 33.92 MB / 0.545 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.0003779/0.6658, allocations: 301 kB / 0.8054 GB, free: 33.65 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.666, allocations: 95.62 kB / 0.8055 GB, free: 33.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.6685, allocations: 1.832 MB / 0.8073 GB, free: 32.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.6685, allocations: 8.375 kB / 0.8073 GB, free: 32.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.6685, allocations: 1.594 kB / 0.8073 GB, free: 32.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.6685, allocations: 5.578 kB / 0.8073 GB, free: 32.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008118/0.6766, allocations: 9.06 MB / 0.8162 GB, free: 24.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.6767, allocations: 11.61 kB / 0.8162 GB, free: 24.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009455/0.6776, allocations: 253 kB / 0.8164 GB, free: 24.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.6777, allocations: 15.34 kB / 0.8164 GB, free: 24.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.6777, allocations: 31.09 kB / 0.8165 GB, free: 24.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/0.6777, allocations: 23.05 kB / 0.8165 GB, free: 24.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.6777, allocations: 15.38 kB / 0.8165 GB, free: 24.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.6792, allocations: 1.774 MB / 0.8182 GB, free: 23.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.6795, allocations: 287.8 kB / 0.8185 GB, free: 23.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.6797, allocations: 30.91 kB / 0.8185 GB, free: 23.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.6804, allocations: 74.03 kB / 0.8186 GB, free: 23.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.6805, allocations: 85.8 kB / 0.8187 GB, free: 23.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.6805, allocations: 46.52 kB / 0.8187 GB, free: 23.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006862/0.6812, allocations: 0.7265 MB / 0.8195 GB, free: 22.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6812, allocations: 0 / 0.8195 GB, free: 22.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002675/0.6839, allocations: 0.8069 MB / 0.8202 GB, free: 22.4 MB / 0.545 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.0002521/0.6842, allocations: 172.2 kB / 0.8204 GB, free: 22.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003444/0.6876, allocations: 2.975 MB / 0.8233 GB, free: 19.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6877, allocations: 384 / 0.8233 GB, free: 19.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.6882, allocations: 0.5791 MB / 0.8239 GB, free: 18.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.6895, allocations: 171.4 kB / 0.824 GB, free: 18.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.6949, allocations: 5.529 MB / 0.8294 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.6963, allocations: 2.105 MB / 0.8315 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002134/0.6985, allocations: 1.026 MB / 0.8325 GB, free: 9.652 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.6988, allocations: 91.42 kB / 0.8326 GB, free: 9.562 MB / 0.545 GB Notification: Performance of SimCode: time 7.52e-07/0.6988, allocations: 0 / 0.8326 GB, free: 9.562 MB / 0.545 GB Notification: Performance of Templates: time 0.02254/0.7213, allocations: 14.24 MB / 0.8465 GB, free: 11.49 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)