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.001103/0.001103, allocations: 107 kB / 17.03 MB, free: 5.699 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.001117/0.001117, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7455/0.7455, allocations: 115.1 MB / 406.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3935, allocations: 76.13 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003628/0.3971, allocations: 2.731 MB / 0.5602 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.3998, allocations: 2.001 MB / 0.5622 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3999, allocations: 6.969 kB / 0.5622 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007134/0.4007, allocations: 236.7 kB / 0.5624 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.4011, allocations: 193.8 kB / 0.5626 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.4017, allocations: 278.7 kB / 0.5629 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003618/0.402, allocations: 320.3 kB / 0.5632 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.4024, allocations: 155.4 kB / 0.5633 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.4025, allocations: 127.9 kB / 0.5634 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.4028, allocations: 153.7 kB / 0.5636 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.4029, allocations: 18.91 kB / 0.5636 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006098/0.4035, allocations: 379.5 kB / 0.564 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.4036, allocations: 93.83 kB / 0.5641 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.4038, allocations: 118 kB / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006352/0.4044, allocations: 470.6 kB / 0.5646 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4044, allocations: 1.219 kB / 0.5646 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4044, allocations: 0.7188 kB / 0.5646 GB, free: 32.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.4044, allocations: 1.031 kB / 0.5646 GB, free: 32.48 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.0008805/0.4053, allocations: 0.5481 MB / 0.5652 GB, free: 32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.4054, allocations: 10.98 kB / 0.5652 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007311/0.4061, allocations: 107.5 kB / 0.5653 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.4064, allocations: 265.4 kB / 0.5655 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.4065, allocations: 25.64 kB / 0.5656 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.4065, allocations: 20.81 kB / 0.5656 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/0.4072, allocations: 385.3 kB / 0.5659 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4072, allocations: 1.812 kB / 0.5659 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.4072, allocations: 6.969 kB / 0.5659 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.4073, allocations: 25.12 kB / 0.566 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/0.4079, allocations: 362.1 kB / 0.5663 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.4096, allocations: 1.717 MB / 0.568 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.4103, allocations: 344.9 kB / 0.5683 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.4106, allocations: 185.4 kB / 0.5685 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.4108, allocations: 96.06 kB / 0.5686 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.4108, allocations: 33.86 kB / 0.5686 GB, free: 29.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.4108, allocations: 1.219 kB / 0.5686 GB, free: 29.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.007122/0.4179, allocations: 1.908 MB / 0.5705 GB, free: 29.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.418, allocations: 82.56 kB / 0.5706 GB, free: 29.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.4181, allocations: 188.4 kB / 0.5707 GB, free: 28.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.4182, allocations: 31.83 kB / 0.5708 GB, free: 28.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.4183, allocations: 151.3 kB / 0.5709 GB, free: 28.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.4183, allocations: 119.3 kB / 0.571 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.4185, allocations: 77.67 kB / 0.5711 GB, free: 28.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.4186, allocations: 330.9 kB / 0.5714 GB, free: 28.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.419, allocations: 253.9 kB / 0.5717 GB, free: 28.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.4195, allocations: 333.8 kB / 0.572 GB, free: 28.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000959/0.4205, allocations: 0.605 MB / 0.5726 GB, free: 27.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4205, allocations: 5.312 kB / 0.5726 GB, free: 27.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001098/0.4216, allocations: 0.6389 MB / 0.5732 GB, free: 27.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4216, allocations: 6.656 kB / 0.5732 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4217, allocations: 2.562 kB / 0.5732 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.4217, allocations: 4.25 kB / 0.5732 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/0.4225, allocations: 149.9 kB / 0.5734 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.4226, allocations: 4.578 kB / 0.5734 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.423, allocations: 56.08 kB / 0.5734 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.423, allocations: 19.7 kB / 0.5734 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005081/0.4236, allocations: 356.9 kB / 0.5738 GB, free: 27.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004494/0.424, allocations: 332.9 kB / 0.5741 GB, free: 27.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008644/0.4249, allocations: 0.5658 MB / 0.5746 GB, free: 26.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.4249, allocations: 4.562 kB / 0.5747 GB, free: 26.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001063/0.426, allocations: 0.6104 MB / 0.5752 GB, free: 26.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.426, allocations: 10.06 kB / 0.5753 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.426, allocations: 1.531 kB / 0.5753 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/0.426, allocations: 6.641 kB / 0.5753 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008111/0.4268, allocations: 139.1 kB / 0.5754 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4268, allocations: 7.016 kB / 0.5754 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.4272, allocations: 49.94 kB / 0.5755 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.4273, allocations: 17.78 kB / 0.5755 GB, free: 26.57 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.0001246/0.4274, allocations: 202.8 kB / 0.5757 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/0.4275, allocations: 26.36 kB / 0.5757 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.4288, allocations: 0.6638 MB / 0.5763 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4288, allocations: 5.031 kB / 0.5763 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4288, allocations: 1.25 kB / 0.5763 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4288, allocations: 3.469 kB / 0.5763 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.4309, allocations: 1.368 MB / 0.5777 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4309, allocations: 5.344 kB / 0.5777 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.4315, allocations: 121 kB / 0.5778 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.4315, allocations: 3.219 kB / 0.5778 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.4316, allocations: 8.953 kB / 0.5778 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.4316, allocations: 8.719 kB / 0.5778 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.4316, allocations: 6.656 kB / 0.5778 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008959/0.4325, allocations: 0.7247 MB / 0.5785 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.4327, allocations: 140.6 kB / 0.5787 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.4327, allocations: 8.328 kB / 0.5787 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.433, allocations: 41.78 kB / 0.5787 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.42e-05/0.4331, allocations: 30.05 kB / 0.5787 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.4332, allocations: 13.25 kB / 0.5788 GB, free: 24.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.4333, allocations: 151.7 kB / 0.5789 GB, free: 24.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4333, allocations: 0 / 0.5789 GB, free: 24.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006779/0.434, allocations: 144.9 kB / 0.579 GB, free: 24.5 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.0001899/0.4342, allocations: 133.3 kB / 0.5792 GB, free: 24.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.4357, allocations: 0.8463 MB / 0.58 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4357, allocations: 0 / 0.58 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004339/0.4361, allocations: 259.1 kB / 0.5802 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.4367, allocations: 59.8 kB / 0.5803 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.4378, allocations: 0.6928 MB / 0.581 GB, free: 23.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.4381, allocations: 0.79 MB / 0.5817 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004683/0.4385, allocations: 167.8 kB / 0.5819 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.4387, allocations: 29.75 kB / 0.5819 GB, free: 22.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4387, allocations: 0 / 0.5819 GB, free: 22.87 MB / 446.1 MB Notification: Performance of Templates: time 0.008051/0.4467, allocations: 4.81 MB / 0.5866 GB, free: 20.98 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)