Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008307/0.0008309, allocations: 91.11 kB / 16.67 MB, free: 6.586 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.0009455/0.0009456, allocations: 180.1 kB / 17.58 MB, free: 6.184 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.418/1.418, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7627/0.7627, allocations: 115.5 MB / 408.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 8 kB / 496.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3994, allocations: 77.51 MB / 0.5606 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003389/0.4029, allocations: 2.419 MB / 0.563 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.4061, allocations: 1.992 MB / 0.5649 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.4064, allocations: 2.094 kB / 0.5649 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.4066, allocations: 33.53 kB / 0.5649 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007204/0.4073, allocations: 177.3 kB / 0.5651 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009347/0.4083, allocations: 249.3 kB / 0.5653 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000677/0.409, allocations: 452.1 kB / 0.5658 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007291/0.4097, allocations: 373 kB / 0.5661 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.41, allocations: 100.7 kB / 0.5662 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.4104, allocations: 154.5 kB / 0.5664 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.4105, allocations: 12.72 kB / 0.5664 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009116/0.4114, allocations: 448.6 kB / 0.5668 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.4115, allocations: 84.98 kB / 0.5669 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.4117, allocations: 128.7 kB / 0.567 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000718/0.4124, allocations: 349.3 kB / 0.5673 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4125, allocations: 1.031 kB / 0.5673 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4125, allocations: 0 / 0.5673 GB, free: 32.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.4125, allocations: 0 / 0.5673 GB, free: 32.27 MB / 446.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.0009205/0.4134, allocations: 0.5217 MB / 0.5679 GB, free: 31.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4135, allocations: 16.66 kB / 0.5679 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009021/0.4144, allocations: 110.9 kB / 0.568 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.4147, allocations: 251.3 kB / 0.5682 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.4147, allocations: 20.55 kB / 0.5682 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.4148, allocations: 22.62 kB / 0.5683 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.4155, allocations: 389.5 kB / 0.5686 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4155, allocations: 1.25 kB / 0.5686 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.4155, allocations: 6.375 kB / 0.5686 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/0.4156, allocations: 22.08 kB / 0.5687 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007262/0.4163, allocations: 374.3 kB / 0.569 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.4182, allocations: 1.733 MB / 0.5707 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.4189, allocations: 346 kB / 0.571 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.4193, allocations: 190.2 kB / 0.5712 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.4194, allocations: 96.98 kB / 0.5713 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.4194, allocations: 37.58 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/0.4195, allocations: 1.031 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.008126/0.4276, allocations: 2.076 MB / 0.5734 GB, free: 28.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.4276, allocations: 82.52 kB / 0.5735 GB, free: 28.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.4278, allocations: 181.5 kB / 0.5736 GB, free: 28.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.4279, allocations: 31.05 kB / 0.5737 GB, free: 28.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.428, allocations: 152.4 kB / 0.5738 GB, free: 28.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.507e-05/0.4281, allocations: 115.6 kB / 0.5739 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.4281, allocations: 37.31 kB / 0.574 GB, free: 28.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.4282, allocations: 330.9 kB / 0.5743 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.4287, allocations: 254.7 kB / 0.5745 GB, free: 28.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.4293, allocations: 351.4 kB / 0.5748 GB, free: 27.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.4303, allocations: 0.6169 MB / 0.5754 GB, free: 27.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4303, allocations: 5.281 kB / 0.5755 GB, free: 27.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001248/0.4316, allocations: 0.6598 MB / 0.5761 GB, free: 27.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.175e-05/0.4317, allocations: 158 kB / 0.5762 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.4317, allocations: 1.594 kB / 0.5762 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4317, allocations: 5.656 kB / 0.5763 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009843/0.4327, allocations: 158.5 kB / 0.5764 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.4327, allocations: 8.859 kB / 0.5764 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.4332, allocations: 53.7 kB / 0.5765 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.4333, allocations: 17.8 kB / 0.5765 GB, free: 27.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.4333, allocations: 15.44 kB / 0.5765 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/0.4344, allocations: 0.5922 MB / 0.5771 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4345, allocations: 6.188 kB / 0.5771 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.4345, allocations: 4.609 kB / 0.5771 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.4354, allocations: 148.6 kB / 0.5772 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.4354, allocations: 3.859 kB / 0.5772 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.4358, allocations: 54.75 kB / 0.5773 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.4359, allocations: 17.14 kB / 0.5773 GB, free: 26.88 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.0002089/0.4361, allocations: 241.9 kB / 0.5775 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.4362, allocations: 23.31 kB / 0.5776 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.4376, allocations: 0.6893 MB / 0.5782 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4376, allocations: 5.25 kB / 0.5782 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4376, allocations: 0 / 0.5782 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4376, allocations: 2.953 kB / 0.5782 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.4399, allocations: 1.386 MB / 0.5796 GB, free: 25.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4399, allocations: 1.5 kB / 0.5796 GB, free: 25.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.4405, allocations: 126.2 kB / 0.5797 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-06/0.4405, allocations: 7.312 kB / 0.5797 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.4406, allocations: 13.77 kB / 0.5797 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.4406, allocations: 3.844 kB / 0.5797 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4406, allocations: 7.078 kB / 0.5797 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.4417, allocations: 0.7356 MB / 0.5805 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.442, allocations: 141.6 kB / 0.5806 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.981e-05/0.442, allocations: 9.078 kB / 0.5806 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/0.4425, allocations: 46 kB / 0.5806 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.4426, allocations: 34.08 kB / 0.5807 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.4427, allocations: 13.91 kB / 0.5807 GB, free: 24.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.4428, allocations: 143.8 kB / 0.5808 GB, free: 24.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4428, allocations: 0 / 0.5808 GB, free: 24.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007513/0.4436, allocations: 148.6 kB / 0.581 GB, free: 24.79 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.0002701/0.4438, allocations: 135.5 kB / 0.5811 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.4457, allocations: 0.8758 MB / 0.582 GB, free: 24.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4457, allocations: 5.719 kB / 0.582 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004962/0.4462, allocations: 263.2 kB / 0.5822 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.4468, allocations: 50.44 kB / 0.5823 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.4481, allocations: 0.8539 MB / 0.5831 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.4484, allocations: 0.7825 MB / 0.5839 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.4486, allocations: 39.48 kB / 0.5839 GB, free: 23.03 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4486, allocations: 0 / 0.5839 GB, free: 23.03 MB / 446.1 MB Notification: Performance of Templates: time 0.009076/0.4577, allocations: 4.744 MB / 0.5885 GB, free: 21 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)