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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001103, allocations: 102.3 kB / 16.27 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.001205/0.001205, allocations: 187.3 kB / 17.19 MB, free: 5.59 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.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7422/0.7422, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.4912 GB, free: 7.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3564, allocations: 77.92 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003948/0.3604, allocations: 2.793 MB / 0.57 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.3632, allocations: 2.083 MB / 0.5721 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.3634, allocations: 5.25 kB / 0.5721 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007087/0.3641, allocations: 225.8 kB / 0.5723 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.3646, allocations: 216.7 kB / 0.5725 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006794/0.3653, allocations: 277.8 kB / 0.5728 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.3656, allocations: 316.4 kB / 0.5731 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.3659, allocations: 159.8 kB / 0.5732 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.366, allocations: 126.7 kB / 0.5733 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.3663, allocations: 159 kB / 0.5735 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.3664, allocations: 18.5 kB / 0.5735 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000649/0.367, allocations: 416 kB / 0.5739 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3672, allocations: 98.47 kB / 0.574 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.3673, allocations: 112.4 kB / 0.5741 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006719/0.368, allocations: 486.4 kB / 0.5746 GB, free: 28.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.368, allocations: 1.719 kB / 0.5746 GB, free: 28.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.368, allocations: 0.625 kB / 0.5746 GB, free: 28.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.368, allocations: 0 / 0.5746 GB, free: 28.24 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.0008327/0.3689, allocations: 0.5618 MB / 0.5751 GB, free: 27.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3689, allocations: 12.12 kB / 0.5751 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.523e-05/0.369, allocations: 60.16 kB / 0.5752 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.37, allocations: 126.3 kB / 0.5753 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.3703, allocations: 256.5 kB / 0.5755 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3703, allocations: 17.02 kB / 0.5756 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.3704, allocations: 25.75 kB / 0.5756 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006846/0.3711, allocations: 394.9 kB / 0.576 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3711, allocations: 1.219 kB / 0.576 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.3711, allocations: 6.844 kB / 0.576 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.3712, allocations: 34.69 kB / 0.576 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.3719, allocations: 369.8 kB / 0.5764 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.3736, allocations: 1.75 MB / 0.5781 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.3744, allocations: 350.7 kB / 0.5784 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.3747, allocations: 190.8 kB / 0.5786 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.3748, allocations: 92.2 kB / 0.5787 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3748, allocations: 42.09 kB / 0.5787 GB, free: 25.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.3748, allocations: 0 / 0.5787 GB, free: 25.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.008778/0.3836, allocations: 2.048 MB / 0.5807 GB, free: 24.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.3837, allocations: 81.67 kB / 0.5808 GB, free: 24.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.3838, allocations: 182.7 kB / 0.581 GB, free: 24.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.3839, allocations: 37.34 kB / 0.581 GB, free: 24.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.3839, allocations: 146.3 kB / 0.5811 GB, free: 24.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.384, allocations: 113.3 kB / 0.5812 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.3842, allocations: 83.77 kB / 0.5813 GB, free: 23.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.3842, allocations: 328 kB / 0.5816 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/0.3848, allocations: 267.3 kB / 0.5819 GB, free: 23.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/0.3855, allocations: 356.4 kB / 0.5822 GB, free: 23.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.3866, allocations: 0.6209 MB / 0.5828 GB, free: 22.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3866, allocations: 4.25 kB / 0.5828 GB, free: 22.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001207/0.3878, allocations: 0.6538 MB / 0.5835 GB, free: 22.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3879, allocations: 6.562 kB / 0.5835 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3879, allocations: 6.188 kB / 0.5835 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3879, allocations: 9.125 kB / 0.5835 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009192/0.3888, allocations: 158.8 kB / 0.5837 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3888, allocations: 4.531 kB / 0.5837 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.3893, allocations: 54.81 kB / 0.5837 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.3893, allocations: 16.25 kB / 0.5837 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000592/0.3899, allocations: 372.2 kB / 0.5841 GB, free: 22.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005109/0.3905, allocations: 333 kB / 0.5844 GB, free: 21.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001011/0.3915, allocations: 0.5942 MB / 0.585 GB, free: 21.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/0.3915, allocations: 1.062 kB / 0.585 GB, free: 21.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001231/0.3927, allocations: 0.6397 MB / 0.5856 GB, free: 21.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.3928, allocations: 7.438 kB / 0.5856 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.3928, allocations: 2.562 kB / 0.5856 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/0.3928, allocations: 4.875 kB / 0.5856 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008646/0.3936, allocations: 153.5 kB / 0.5858 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3937, allocations: 4.156 kB / 0.5858 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.3941, allocations: 54.8 kB / 0.5858 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.3941, allocations: 15.22 kB / 0.5858 GB, free: 21.21 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.0001332/0.3943, allocations: 202.9 kB / 0.586 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/0.3944, allocations: 25.61 kB / 0.5861 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.3957, allocations: 0.6849 MB / 0.5867 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3957, allocations: 3.312 kB / 0.5867 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3957, allocations: 1.562 kB / 0.5867 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.3957, allocations: 0 / 0.5867 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.3977, allocations: 1.369 MB / 0.5881 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3977, allocations: 6.453 kB / 0.5881 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.3983, allocations: 118.6 kB / 0.5882 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.3983, allocations: 7.344 kB / 0.5882 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.3984, allocations: 12.47 kB / 0.5882 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3984, allocations: 3.562 kB / 0.5882 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.3984, allocations: 6.625 kB / 0.5882 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009792/0.3994, allocations: 0.7095 MB / 0.5889 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.3995, allocations: 144 kB / 0.589 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.3996, allocations: 12.12 kB / 0.5891 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.3999, allocations: 41.28 kB / 0.5891 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/0.4, allocations: 32.66 kB / 0.5891 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.4001, allocations: 12.91 kB / 0.5891 GB, free: 18.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.4002, allocations: 153.5 kB / 0.5893 GB, free: 18.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4002, allocations: 0 / 0.5893 GB, free: 18.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006983/0.4009, allocations: 146 kB / 0.5894 GB, free: 18.65 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.001155/0.4021, allocations: 1.291 MB / 0.5907 GB, free: 17.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.4037, allocations: 0.9156 MB / 0.5916 GB, free: 17.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4038, allocations: 1.906 kB / 0.5916 GB, free: 17.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.4042, allocations: 258 kB / 0.5918 GB, free: 16.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.4047, allocations: 46.08 kB / 0.5919 GB, free: 16.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.4091, allocations: 3.881 MB / 0.5957 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.4093, allocations: 0.7877 MB / 0.5964 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005439/0.4098, allocations: 170.8 kB / 0.5966 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.41, allocations: 83.39 kB / 0.5967 GB, free: 11.79 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.41, allocations: 4 kB / 0.5967 GB, free: 11.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.4319, allocations: 7.64 MB / 0.6041 GB, free: 4.324 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.206/7.638, allocations: 8.094 kB / 0.6041 GB, free: 4.32 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)