Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001183/0.001183, allocations: 105.1 kB / 16.36 MB, free: 5.961 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.001141/0.001141, allocations: 191.1 kB / 17.3 MB, free: 5.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 223.2 MB, free: 4.062 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.861/1.861, allocations: 292.3 MB / 0.5496 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 68.12 kB / 0.6729 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2019, allocations: 114.6 MB / 0.7848 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004925/0.2069, allocations: 2.81 MB / 0.7875 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003241/0.2101, allocations: 2.035 MB / 0.7895 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.2103, allocations: 8 kB / 0.7895 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008821/0.2112, allocations: 230.2 kB / 0.7898 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.2116, allocations: 195.1 kB / 0.7899 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006483/0.2123, allocations: 279.2 kB / 0.7902 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.2126, allocations: 315 kB / 0.7905 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.213, allocations: 158 kB / 0.7907 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.2132, allocations: 123.6 kB / 0.7908 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.2135, allocations: 155.5 kB / 0.7909 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.2135, allocations: 16 kB / 0.7909 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005962/0.2141, allocations: 379.3 kB / 0.7913 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.2143, allocations: 95.77 kB / 0.7914 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.2144, allocations: 111.4 kB / 0.7915 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.215, allocations: 474.6 kB / 0.7919 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.215, allocations: 0 / 0.7919 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2151, allocations: 0 / 0.7919 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2151, allocations: 7.938 kB / 0.792 GB, free: 5.402 MB / 0.6075 GB 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.001049/0.2161, allocations: 0.5497 MB / 0.7925 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2162, allocations: 12.03 kB / 0.7925 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007799/0.2169, allocations: 112.5 kB / 0.7926 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.2173, allocations: 247 kB / 0.7928 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2173, allocations: 20.8 kB / 0.7929 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.2174, allocations: 24.06 kB / 0.7929 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006298/0.218, allocations: 382 kB / 0.7933 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.218, allocations: 3.938 kB / 0.7933 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.2181, allocations: 8 kB / 0.7933 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-05/0.2181, allocations: 35.7 kB / 0.7933 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006294/0.2188, allocations: 359.6 kB / 0.7936 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.221, allocations: 1.718 MB / 0.7953 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.222, allocations: 344 kB / 0.7956 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.2226, allocations: 189.5 kB / 0.7958 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.2228, allocations: 97.08 kB / 0.7959 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.2228, allocations: 34.56 kB / 0.796 GB, free: 1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 2.925e-06/0.2229, allocations: 0 / 0.796 GB, free: 1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.01171/0.2346, allocations: 1.913 MB / 0.7978 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.2347, allocations: 81.11 kB / 0.7979 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.2349, allocations: 180.3 kB / 0.7981 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/0.235, allocations: 29.7 kB / 0.7981 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.2351, allocations: 152.3 kB / 0.7982 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.2353, allocations: 110.3 kB / 0.7983 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.2356, allocations: 85.67 kB / 0.7984 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2357, allocations: 326.8 kB / 0.7987 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008447/0.2366, allocations: 256.6 kB / 0.799 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008616/0.2375, allocations: 337.5 kB / 0.7993 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.2392, allocations: 0.5917 MB / 0.7999 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.2392, allocations: 7.938 kB / 0.7999 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001994/0.2412, allocations: 0.6349 MB / 0.8005 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2412, allocations: 8.938 kB / 0.8005 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.2412, allocations: 4.281 kB / 0.8005 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.2413, allocations: 8 kB / 0.8005 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.2427, allocations: 151.7 kB / 0.8007 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.2427, allocations: 4 kB / 0.8007 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.2434, allocations: 51.92 kB / 0.8007 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/0.2435, allocations: 15.98 kB / 0.8007 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009054/0.2444, allocations: 360.6 kB / 0.8011 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008188/0.2452, allocations: 325.2 kB / 0.8014 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001543/0.2468, allocations: 0.5627 MB / 0.802 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.507e-06/0.2468, allocations: 0 / 0.802 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00195/0.2488, allocations: 0.626 MB / 0.8026 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2488, allocations: 11.94 kB / 0.8026 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2488, allocations: 0 / 0.8026 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.2489, allocations: 4 kB / 0.8026 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.2503, allocations: 139.8 kB / 0.8027 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.2503, allocations: 7.938 kB / 0.8027 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006853/0.251, allocations: 56.11 kB / 0.8028 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.2511, allocations: 16 kB / 0.8028 GB, free: 9.789 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002533/0.2514, allocations: 205.4 kB / 0.803 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.2515, allocations: 19.8 kB / 0.803 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.2536, allocations: 0.6723 MB / 0.8037 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.2536, allocations: 4 kB / 0.8037 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2536, allocations: 0 / 0.8037 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.2536, allocations: 0 / 0.8037 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.257, allocations: 1.367 MB / 0.805 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.2571, allocations: 8.25 kB / 0.805 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009372/0.258, allocations: 119.8 kB / 0.8051 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.258, allocations: 4 kB / 0.8051 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.2581, allocations: 8 kB / 0.8051 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.2581, allocations: 11.88 kB / 0.8051 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.2581, allocations: 3.984 kB / 0.8051 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.2597, allocations: 0.7146 MB / 0.8058 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.26, allocations: 140.7 kB / 0.806 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/0.2601, allocations: 11.98 kB / 0.806 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/0.2607, allocations: 39.89 kB / 0.806 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.2608, allocations: 27.97 kB / 0.8061 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.2609, allocations: 12 kB / 0.8061 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002195/0.2611, allocations: 152.9 kB / 0.8062 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2611, allocations: 4 kB / 0.8062 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001119/0.2623, allocations: 140 kB / 0.8063 GB, free: 5.973 MB / 0.6231 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 (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.0003344/0.2626, allocations: 131.2 kB / 0.8065 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002428/0.2651, allocations: 0.8479 MB / 0.8073 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2651, allocations: 3.938 kB / 0.8073 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006883/0.2658, allocations: 261 kB / 0.8076 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.2666, allocations: 49.44 kB / 0.8076 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.2682, allocations: 0.7048 MB / 0.8083 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.2688, allocations: 0.7838 MB / 0.8091 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006718/0.2695, allocations: 174.8 kB / 0.8092 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.2697, allocations: 31.42 kB / 0.8093 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of SimCode: time 7.81e-07/0.2697, allocations: 0 / 0.8093 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of Templates: time 0.01281/0.2825, allocations: 4.796 MB / 0.8139 GB, free: 14.14 MB / 0.6388 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)