Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.78/1.78, allocations: 288.2 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001689/0.001689, allocations: 177.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 0.6305 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009156/0.0009157, allocations: 89.14 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005539/0.0005541, allocations: 15.39 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2604, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003696/0.2641, allocations: 2.845 MB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003115/0.2672, allocations: 2.009 MB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.2674, allocations: 4 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.2676, allocations: 43.69 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.2681, allocations: 151.5 kB / 0.9844 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007152/0.2689, allocations: 216.6 kB / 0.9846 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.2692, allocations: 223.5 kB / 0.9848 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.2697, allocations: 329.3 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.2699, allocations: 107.6 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.2702, allocations: 119.5 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.2702, allocations: 12 kB / 0.9854 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.2707, allocations: 251.6 kB / 0.9856 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.2708, allocations: 83.78 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.2709, allocations: 73.52 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.2714, allocations: 367.1 kB / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2714, allocations: 4 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2714, allocations: 0 / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.2714, allocations: 0 / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009139/0.2723, allocations: 0.569 MB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2724, allocations: 8.031 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.797e-05/0.2725, allocations: 58.53 kB / 0.9867 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.2738, allocations: 143.4 kB / 0.9869 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.2742, allocations: 266.6 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.2742, allocations: 20.42 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.2743, allocations: 16 kB / 0.9872 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007942/0.2751, allocations: 419.5 kB / 0.9876 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2751, allocations: 0 / 0.9876 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.2752, allocations: 11.98 kB / 0.9876 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/0.2752, allocations: 32.55 kB / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007893/0.276, allocations: 365.8 kB / 0.988 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.2786, allocations: 2.054 MB / 0.99 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009232/0.2795, allocations: 361.5 kB / 0.9903 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.2797, allocations: 93.27 kB / 0.9904 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.2797, allocations: 34.75 kB / 0.9904 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.2797, allocations: 4 kB / 0.9904 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.006561/0.2863, allocations: 1.762 MB / 0.9922 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.2863, allocations: 81.11 kB / 0.9922 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.2866, allocations: 232.9 kB / 0.9925 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.2866, allocations: 37.7 kB / 0.9925 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/0.2867, allocations: 187.9 kB / 0.9927 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.2868, allocations: 122.3 kB / 0.9928 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.2869, allocations: 8 kB / 0.9928 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.287, allocations: 338.8 kB / 0.9931 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/0.2874, allocations: 204.8 kB / 0.9933 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005325/0.288, allocations: 312.2 kB / 0.9936 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.2886, allocations: 243.7 kB / 0.9938 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2886, allocations: 0 / 0.9938 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001627/0.2902, allocations: 0.6951 MB / 0.9945 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002312/0.2904, allocations: 1.134 MB / 0.9956 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2905, allocations: 4 kB / 0.9956 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/0.2911, allocations: 139.3 kB / 0.9958 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.2917, allocations: 103.8 kB / 0.9959 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.2945, allocations: 3.97 MB / 0.9997 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.295, allocations: 43.97 kB / 0.9998 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.2951, allocations: 16 kB / 0.9998 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.2951, allocations: 4 kB / 0.9998 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001659/0.2968, allocations: 0.6392 MB / 1 GB, free: 5.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2968, allocations: 4 kB / 1 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/0.2973, allocations: 143.3 kB / 1.001 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.2978, allocations: 100 kB / 1.001 GB, free: 4.859 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004618/0.2983, allocations: 1.105 MB / 1.002 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.2987, allocations: 44.14 kB / 1.002 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.2988, allocations: 15.94 kB / 1.002 GB, free: 3.645 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002285/0.299, allocations: 250.5 kB / 1.002 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.2991, allocations: 27.67 kB / 1.002 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.3006, allocations: 0.6439 MB / 1.003 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3006, allocations: 4 kB / 1.003 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3007, allocations: 0 / 1.003 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.3007, allocations: 7.938 kB / 1.003 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.3033, allocations: 1.242 MB / 1.004 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3033, allocations: 4 kB / 1.004 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.3037, allocations: 67.88 kB / 1.004 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005639/0.3043, allocations: 159.4 kB / 1.004 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.3043, allocations: 8 kB / 1.004 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00365/0.308, allocations: 3.985 MB / 1.008 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.308, allocations: 7.953 kB / 1.008 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.3099, allocations: 0.8918 MB / 1.009 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.3102, allocations: 140.7 kB / 1.009 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.3102, allocations: 12 kB / 1.009 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.3107, allocations: 39.97 kB / 1.009 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.3109, allocations: 35.84 kB / 1.009 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.3109, allocations: 12 kB / 1.009 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002417/0.3112, allocations: 172.5 kB / 1.009 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3112, allocations: 0 / 1.009 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001243/0.3124, allocations: 160 kB / 1.009 GB, free: 11.23 MB / 0.6355 GB 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002535/0.315, allocations: 2.003 MB / 1.011 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002991/0.318, allocations: 1.232 MB / 1.013 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.318, allocations: 0 / 1.013 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.3192, allocations: 0.4902 MB / 1.013 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.3198, allocations: 48.36 kB / 1.013 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006361/0.3262, allocations: 4.083 MB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.3267, allocations: 0.8201 MB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000629/0.3274, allocations: 122.8 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.3276, allocations: 85.16 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of SimCode: time 4.809e-06/0.3276, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.3581, allocations: 8.242 MB / 1.026 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.3584, allocations: 246 kB / 1.026 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.418, allocations: 0 / 1.026 GB, free: 9.746 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)