Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008064/0.0008068, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009333/0.0009332, allocations: 184.8 kB / 16.92 MB, free: 6.676 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6959/0.6959, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004446, allocations: 8 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.235, allocations: 77.53 MB / 0.56 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003755/0.2388, allocations: 2.482 MB / 0.5624 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.2425, allocations: 2.069 MB / 0.5644 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.2427, allocations: 4 kB / 0.5644 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.2429, allocations: 35.7 kB / 0.5645 GB, free: 4.395 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005931/0.2435, allocations: 203.3 kB / 0.5646 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.2441, allocations: 239.5 kB / 0.5649 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006084/0.2447, allocations: 458.8 kB / 0.5653 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008332/0.2456, allocations: 370.5 kB / 0.5657 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.2458, allocations: 99.62 kB / 0.5658 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.2462, allocations: 147.5 kB / 0.5659 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.2462, allocations: 12 kB / 0.5659 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007889/0.247, allocations: 483.1 kB / 0.5664 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.2472, allocations: 83.77 kB / 0.5665 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.2474, allocations: 129.1 kB / 0.5666 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.2481, allocations: 498.5 kB / 0.5671 GB, free: 1.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2481, allocations: 0 / 0.5671 GB, free: 1.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.2481, allocations: 0 / 0.5671 GB, free: 1.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.2481, allocations: 0 / 0.5671 GB, free: 1.691 MB / 430.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.001021/0.2491, allocations: 0.5247 MB / 0.5676 GB, free: 1.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2492, allocations: 8.031 kB / 0.5676 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009973/0.2502, allocations: 132.5 kB / 0.5677 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.2505, allocations: 252.5 kB / 0.5679 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.2506, allocations: 16.81 kB / 0.568 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.2506, allocations: 24.11 kB / 0.568 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.2514, allocations: 401.9 kB / 0.5684 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2514, allocations: 0 / 0.5684 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.2514, allocations: 11.98 kB / 0.5684 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/0.2515, allocations: 27.77 kB / 0.5684 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.2523, allocations: 387.6 kB / 0.5688 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.2545, allocations: 1.745 MB / 0.5705 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007621/0.2552, allocations: 360.9 kB / 0.5708 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/0.2556, allocations: 202.4 kB / 0.571 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.2558, allocations: 89.09 kB / 0.5711 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.2558, allocations: 38.5 kB / 0.5711 GB, free: 13.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.2559, allocations: 0 / 0.5711 GB, free: 13.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.009172/0.265, allocations: 2.218 MB / 0.5733 GB, free: 10.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.2651, allocations: 89.11 kB / 0.5734 GB, free: 10.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.2653, allocations: 174.6 kB / 0.5735 GB, free: 10.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.2653, allocations: 29.7 kB / 0.5736 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.2654, allocations: 148.4 kB / 0.5737 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.2655, allocations: 118.3 kB / 0.5738 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.2656, allocations: 33.7 kB / 0.5739 GB, free: 10.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2658, allocations: 334.8 kB / 0.5742 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.2663, allocations: 271.8 kB / 0.5744 GB, free: 9.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.267, allocations: 358.2 kB / 0.5748 GB, free: 9.367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.2682, allocations: 0.6425 MB / 0.5754 GB, free: 8.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2682, allocations: 3.938 kB / 0.5754 GB, free: 8.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001355/0.2696, allocations: 0.6855 MB / 0.5761 GB, free: 8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.2697, allocations: 156.8 kB / 0.5762 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2697, allocations: 4 kB / 0.5762 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2697, allocations: 4 kB / 0.5762 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/0.2707, allocations: 163.7 kB / 0.5764 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.2707, allocations: 4 kB / 0.5764 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.2712, allocations: 59.92 kB / 0.5765 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.2713, allocations: 15.98 kB / 0.5765 GB, free: 7.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.166e-06/0.2713, allocations: 11.94 kB / 0.5765 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/0.2725, allocations: 0.6127 MB / 0.5771 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.2726, allocations: 0 / 0.5771 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-06/0.2726, allocations: 4.188 kB / 0.5771 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/0.2735, allocations: 159.8 kB / 0.5772 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2735, allocations: 4 kB / 0.5772 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.2739, allocations: 59.92 kB / 0.5773 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.274, allocations: 19.98 kB / 0.5773 GB, free: 6.699 MB / 446.1 MB 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.0002316/0.2742, allocations: 246.2 kB / 0.5776 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.2743, allocations: 27.69 kB / 0.5776 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.2758, allocations: 0.7003 MB / 0.5783 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.2758, allocations: 4 kB / 0.5783 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2758, allocations: 0 / 0.5783 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2758, allocations: 7.984 kB / 0.5783 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.278, allocations: 1.387 MB / 0.5796 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.278, allocations: 0 / 0.5796 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/0.2786, allocations: 123.8 kB / 0.5797 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2786, allocations: 4 kB / 0.5798 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.2786, allocations: 8 kB / 0.5798 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.2786, allocations: 4 kB / 0.5798 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2786, allocations: 7.938 kB / 0.5798 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.2797, allocations: 0.7387 MB / 0.5805 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.2799, allocations: 152.7 kB / 0.5806 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.28, allocations: 8 kB / 0.5806 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.2803, allocations: 47.94 kB / 0.5807 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.2804, allocations: 31.84 kB / 0.5807 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.2804, allocations: 16 kB / 0.5807 GB, free: 3.027 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.2807, allocations: 151.2 kB / 0.5809 GB, free: 2.879 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2807, allocations: 0 / 0.5809 GB, free: 2.879 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006377/0.2813, allocations: 144 kB / 0.581 GB, free: 2.738 MB / 446.1 MB 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.0002238/0.2816, allocations: 141.3 kB / 0.5812 GB, free: 2.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.2834, allocations: 0.8985 MB / 0.582 GB, free: 1.691 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2834, allocations: 0 / 0.582 GB, free: 1.691 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.2839, allocations: 265.6 kB / 0.5823 GB, free: 1.434 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.2844, allocations: 51.69 kB / 0.5823 GB, free: 1.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.2857, allocations: 0.8226 MB / 0.5831 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.311/0.5967, allocations: 0.7771 MB / 0.5839 GB, free: 30.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009239/0.5977, allocations: 176.2 kB / 0.5841 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.5979, allocations: 30.67 kB / 0.5841 GB, free: 30.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5979, allocations: 2.969 kB / 0.5841 GB, free: 30.25 MB / 446.1 MB Notification: Performance of Templates: time 0.01129/0.6092, allocations: 4.872 MB / 0.5889 GB, free: 30.1 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)