Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001349/0.001349, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 277.5 kB / 291.4 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.116/1.116, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004461, allocations: 15.31 kB / 0.598 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2082, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003333/0.2116, allocations: 2.412 MB / 0.6868 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.2145, allocations: 1.865 MB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.2146, allocations: 8.688 kB / 0.6887 GB, free: 11.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.2148, allocations: 27.78 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004765/0.2153, allocations: 151.8 kB / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.2159, allocations: 207.5 kB / 0.689 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.2163, allocations: 366.9 kB / 0.6894 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000605/0.2169, allocations: 351.3 kB / 0.6897 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.2171, allocations: 100.8 kB / 0.6898 GB, free: 9.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.2174, allocations: 143.5 kB / 0.69 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.2174, allocations: 12.56 kB / 0.69 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.2179, allocations: 256.4 kB / 0.6902 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.218, allocations: 87.75 kB / 0.6903 GB, free: 9.465 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.2181, allocations: 59.52 kB / 0.6904 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.2186, allocations: 343.2 kB / 0.6907 GB, free: 9.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2186, allocations: 3.938 kB / 0.6907 GB, free: 9.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2186, allocations: 0 / 0.6907 GB, free: 9.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2186, allocations: 0 / 0.6907 GB, free: 9.062 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009231/0.2195, allocations: 0.5169 MB / 0.6912 GB, free: 8.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2196, allocations: 12.03 kB / 0.6912 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/0.2203, allocations: 108.3 kB / 0.6913 GB, free: 8.383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.2206, allocations: 248 kB / 0.6915 GB, free: 8.102 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2207, allocations: 13.09 kB / 0.6916 GB, free: 8.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.2207, allocations: 19.94 kB / 0.6916 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.2214, allocations: 390.5 kB / 0.692 GB, free: 7.664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.2214, allocations: 0 / 0.692 GB, free: 7.664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.2215, allocations: 12 kB / 0.692 GB, free: 7.652 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.2215, allocations: 24.7 kB / 0.692 GB, free: 7.629 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.2221, allocations: 370.3 kB / 0.6923 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.224, allocations: 1.744 MB / 0.694 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.2246, allocations: 345 kB / 0.6944 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.2249, allocations: 189.6 kB / 0.6946 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.2251, allocations: 89.06 kB / 0.6946 GB, free: 4.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.2251, allocations: 42.48 kB / 0.6947 GB, free: 4.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 2.785e-06/0.2251, allocations: 4 kB / 0.6947 GB, free: 4.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.006763/0.2319, allocations: 2.068 MB / 0.6967 GB, free: 2.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.232, allocations: 81.11 kB / 0.6968 GB, free: 2.504 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.2322, allocations: 171.8 kB / 0.6969 GB, free: 2.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.2322, allocations: 41.7 kB / 0.697 GB, free: 2.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/0.2323, allocations: 148.3 kB / 0.6971 GB, free: 2.129 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.2324, allocations: 118.3 kB / 0.6972 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.2325, allocations: 8 kB / 0.6972 GB, free: 2.004 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.2326, allocations: 338.8 kB / 0.6976 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.2331, allocations: 259.8 kB / 0.6978 GB, free: 1.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.2336, allocations: 345.4 kB / 0.6981 GB, free: 1.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.2341, allocations: 289.3 kB / 0.6984 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2342, allocations: 0 / 0.6984 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001167/0.2353, allocations: 0.6589 MB / 0.6991 GB, free: 96 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.2355, allocations: 169.2 kB / 0.6992 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2355, allocations: 4 kB / 0.6992 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2355, allocations: 4 kB / 0.6992 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000844/0.2364, allocations: 155.8 kB / 0.6994 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.2364, allocations: 4 kB / 0.6994 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.2368, allocations: 59.88 kB / 0.6994 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.2368, allocations: 16 kB / 0.6995 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.2368, allocations: 4 kB / 0.6995 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/0.2379, allocations: 0.5853 MB / 0.7 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/0.2379, allocations: 0 / 0.7 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.2379, allocations: 8.281 kB / 0.7 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/0.2387, allocations: 151.8 kB / 0.7002 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2387, allocations: 7.938 kB / 0.7002 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.239, allocations: 55.94 kB / 0.7002 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.2391, allocations: 15.98 kB / 0.7003 GB, free: 14.83 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.2393, allocations: 239 kB / 0.7005 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.2394, allocations: 27.75 kB / 0.7005 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.2407, allocations: 0.6841 MB / 0.7012 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2408, allocations: 7.938 kB / 0.7012 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2408, allocations: 4 kB / 0.7012 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2408, allocations: 0 / 0.7012 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.2429, allocations: 1.388 MB / 0.7026 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2429, allocations: 0 / 0.7026 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.2435, allocations: 123.8 kB / 0.7027 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.2435, allocations: 4 kB / 0.7027 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.2435, allocations: 12 kB / 0.7027 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.2435, allocations: 8.188 kB / 0.7027 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.2436, allocations: 11.98 kB / 0.7027 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.2446, allocations: 0.7345 MB / 0.7034 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.2447, allocations: 140.8 kB / 0.7036 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.2448, allocations: 8 kB / 0.7036 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.2451, allocations: 39.95 kB / 0.7036 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.2452, allocations: 39.91 kB / 0.7036 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.2452, allocations: 12 kB / 0.7037 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001252/0.2454, allocations: 144.9 kB / 0.7038 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2454, allocations: 0 / 0.7038 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006602/0.246, allocations: 144 kB / 0.7039 GB, free: 10.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002491/0.2463, allocations: 135.2 kB / 0.7041 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.2479, allocations: 0.88 MB / 0.7049 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2479, allocations: 0 / 0.7049 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000447/0.2484, allocations: 261.3 kB / 0.7052 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.2489, allocations: 42 kB / 0.7052 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.2502, allocations: 0.8366 MB / 0.706 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.2506, allocations: 0.7837 MB / 0.7068 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005564/0.2512, allocations: 174.8 kB / 0.707 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.2514, allocations: 31.42 kB / 0.707 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2514, allocations: 0 / 0.707 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of Templates: time 0.008349/0.2597, allocations: 4.382 MB / 0.7113 GB, free: 3.367 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)