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.001385/0.001385, allocations: 108.3 kB / 16.64 MB, free: 6.371 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.001445/0.001445, allocations: 197.3 kB / 17.56 MB, free: 5.797 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.384/1.384, allocations: 222.9 MB / 241.3 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8513/0.8513, allocations: 122.8 MB / 414.2 MB, free: 100 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.00194, allocations: 67.89 kB / 0.4912 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.511, allocations: 77.91 MB / 0.5673 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004297/0.5154, allocations: 2.777 MB / 0.57 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.5187, allocations: 2.064 MB / 0.5721 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.5188, allocations: 6.625 kB / 0.5721 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.5197, allocations: 214.3 kB / 0.5723 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.5202, allocations: 204.2 kB / 0.5725 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.5209, allocations: 251.6 kB / 0.5727 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.5213, allocations: 313.7 kB / 0.573 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.5217, allocations: 181.5 kB / 0.5732 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.5219, allocations: 123.2 kB / 0.5733 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.5222, allocations: 157.5 kB / 0.5734 GB, free: 28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.5222, allocations: 19.06 kB / 0.5735 GB, free: 28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006886/0.5229, allocations: 417.2 kB / 0.5739 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.5231, allocations: 102.5 kB / 0.574 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.5232, allocations: 109.6 kB / 0.5741 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005726/0.5238, allocations: 374.9 kB / 0.5744 GB, free: 27.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5238, allocations: 0.5938 kB / 0.5744 GB, free: 27.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5238, allocations: 2 kB / 0.5744 GB, free: 27.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.5238, allocations: 1 kB / 0.5744 GB, free: 27.66 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.001017/0.5248, allocations: 0.5548 MB / 0.575 GB, free: 27.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5249, allocations: 10.41 kB / 0.575 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.5259, allocations: 130.7 kB / 0.5751 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.5262, allocations: 257 kB / 0.5753 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.5262, allocations: 13.53 kB / 0.5754 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/0.5263, allocations: 30.14 kB / 0.5754 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.5271, allocations: 389.4 kB / 0.5758 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.5271, allocations: 5.469 kB / 0.5758 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.5271, allocations: 19.89 kB / 0.5758 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-05/0.5272, allocations: 29.17 kB / 0.5758 GB, free: 26.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008176/0.528, allocations: 370.1 kB / 0.5762 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.53, allocations: 1.746 MB / 0.5779 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/0.5308, allocations: 347.2 kB / 0.5782 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.5312, allocations: 190.3 kB / 0.5784 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.5314, allocations: 93.73 kB / 0.5785 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.5314, allocations: 37.58 kB / 0.5785 GB, free: 24.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.5314, allocations: 0 / 0.5785 GB, free: 24.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.009215/0.5406, allocations: 2.048 MB / 0.5805 GB, free: 24.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.5407, allocations: 86 kB / 0.5806 GB, free: 24.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.5409, allocations: 186.8 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.5409, allocations: 36.39 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.541, allocations: 146 kB / 0.5809 GB, free: 23.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.781e-05/0.5411, allocations: 119.8 kB / 0.5811 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.5413, allocations: 80.47 kB / 0.5811 GB, free: 23.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.5414, allocations: 331.5 kB / 0.5815 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006043/0.542, allocations: 264.9 kB / 0.5817 GB, free: 23.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/0.5426, allocations: 355.6 kB / 0.582 GB, free: 23.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.5438, allocations: 0.6235 MB / 0.5827 GB, free: 22.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5438, allocations: 3.938 kB / 0.5827 GB, free: 22.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001347/0.5452, allocations: 0.6541 MB / 0.5833 GB, free: 22.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.5452, allocations: 5.219 kB / 0.5833 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5452, allocations: 3.75 kB / 0.5833 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.5453, allocations: 3.938 kB / 0.5833 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.5463, allocations: 159.5 kB / 0.5835 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.5463, allocations: 9.203 kB / 0.5835 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.5468, allocations: 54.75 kB / 0.5835 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.5468, allocations: 16.56 kB / 0.5835 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006077/0.5474, allocations: 369.6 kB / 0.5839 GB, free: 22.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004879/0.5479, allocations: 333.1 kB / 0.5842 GB, free: 21.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001017/0.549, allocations: 0.5986 MB / 0.5848 GB, free: 21.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.549, allocations: 5.469 kB / 0.5848 GB, free: 21.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001239/0.5502, allocations: 0.6345 MB / 0.5854 GB, free: 21.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.5502, allocations: 6.031 kB / 0.5854 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5502, allocations: 6.469 kB / 0.5854 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.5503, allocations: 4.125 kB / 0.5854 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008943/0.5512, allocations: 153.9 kB / 0.5856 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.5512, allocations: 8.25 kB / 0.5856 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.5516, allocations: 50.27 kB / 0.5856 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.5517, allocations: 16.5 kB / 0.5856 GB, free: 21.12 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.0001366/0.5518, allocations: 205.3 kB / 0.5858 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.802e-05/0.5519, allocations: 27.19 kB / 0.5859 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.5533, allocations: 0.6843 MB / 0.5865 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5533, allocations: 4 kB / 0.5865 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.5533, allocations: 1.438 kB / 0.5865 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5533, allocations: 3.984 kB / 0.5865 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.5553, allocations: 1.365 MB / 0.5879 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5553, allocations: 0.9688 kB / 0.5879 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.5559, allocations: 119.6 kB / 0.588 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.5559, allocations: 3.656 kB / 0.588 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.5559, allocations: 8.312 kB / 0.588 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.5559, allocations: 11.94 kB / 0.588 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.5559, allocations: 10.58 kB / 0.588 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009059/0.5568, allocations: 0.7099 MB / 0.5887 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.557, allocations: 135.5 kB / 0.5889 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.5571, allocations: 12.23 kB / 0.5889 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.5574, allocations: 45.17 kB / 0.5889 GB, free: 18.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.5576, allocations: 32.92 kB / 0.5889 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.5576, allocations: 13.41 kB / 0.5889 GB, free: 18.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.5578, allocations: 149.5 kB / 0.5891 GB, free: 18.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5578, allocations: 0 / 0.5891 GB, free: 18.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007286/0.5585, allocations: 148.6 kB / 0.5892 GB, free: 18.57 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.0002052/0.5587, allocations: 141.2 kB / 0.5894 GB, free: 18.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.5605, allocations: 0.9154 MB / 0.5903 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5605, allocations: 0.875 kB / 0.5903 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.561, allocations: 264.5 kB / 0.5905 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.5615, allocations: 42.86 kB / 0.5906 GB, free: 17.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.5627, allocations: 0.8489 MB / 0.5914 GB, free: 17.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.563, allocations: 0.7828 MB / 0.5921 GB, free: 16.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.5632, allocations: 36.64 kB / 0.5922 GB, free: 16.48 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5632, allocations: 1.281 kB / 0.5922 GB, free: 16.48 MB / 446.1 MB Notification: Performance of Templates: time 0.006211/0.5694, allocations: 4.938 MB / 0.597 GB, free: 11.91 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)