Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.546/2.546, allocations: 287.5 MB / 302.4 MB, free: 8.254 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.001293/0.001293, allocations: 174.4 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.4 MB / 0.6297 GB, free: 10.48 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.000957/0.0009565, allocations: 89.62 kB / 0.743 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000804/0.0008042, allocations: 15.81 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2129, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.006888/0.2198, allocations: 2.915 MB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00406/0.2239, allocations: 2.068 MB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.2243, allocations: 7.938 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.2245, allocations: 39.64 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006861/0.2252, allocations: 175.1 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009821/0.2262, allocations: 216.8 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005923/0.2268, allocations: 442.6 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000597/0.2274, allocations: 325.4 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.2277, allocations: 123.5 kB / 0.9846 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.228, allocations: 167.4 kB / 0.9847 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.2281, allocations: 12 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007051/0.2288, allocations: 259.6 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.2289, allocations: 99.69 kB / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.229, allocations: 69.58 kB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.2295, allocations: 375.1 kB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2296, allocations: 0 / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2296, allocations: 0 / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.2296, allocations: 0 / 0.9855 GB, free: 20.92 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.00106/0.2307, allocations: 0.5689 MB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2307, allocations: 12.02 kB / 0.9861 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.697e-05/0.2308, allocations: 58.55 kB / 0.9862 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.232, allocations: 127.4 kB / 0.9863 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.2324, allocations: 262.6 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.2325, allocations: 24.41 kB / 0.9865 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.2325, allocations: 19.94 kB / 0.9866 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008838/0.2334, allocations: 419.5 kB / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.2335, allocations: 3.938 kB / 0.987 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.2335, allocations: 11.98 kB / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.573e-05/0.2336, allocations: 40.48 kB / 0.987 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.2346, allocations: 354 kB / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.2377, allocations: 2.054 MB / 0.9894 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.2389, allocations: 361.6 kB / 0.9897 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.2395, allocations: 198 kB / 0.9899 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.2397, allocations: 89.28 kB / 0.99 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.2397, allocations: 34.75 kB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.995e-06/0.2397, allocations: 0 / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.008389/0.2481, allocations: 1.765 MB / 0.9917 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2482, allocations: 81.11 kB / 0.9918 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.2485, allocations: 228.9 kB / 0.992 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.2485, allocations: 37.7 kB / 0.9921 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2487, allocations: 183.9 kB / 0.9922 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.2488, allocations: 114.4 kB / 0.9924 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.2488, allocations: 12 kB / 0.9924 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.2489, allocations: 330.8 kB / 0.9927 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/0.2495, allocations: 204.7 kB / 0.9929 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/0.2502, allocations: 313.1 kB / 0.9932 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/0.2509, allocations: 251.6 kB / 0.9934 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2509, allocations: 0 / 0.9934 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001953/0.2529, allocations: 0.672 MB / 0.9941 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.253, allocations: 176.4 kB / 0.9942 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.253, allocations: 4 kB / 0.9942 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007693/0.2538, allocations: 163.2 kB / 0.9944 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.2546, allocations: 95.81 kB / 0.9945 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.2577, allocations: 3.95 MB / 0.9983 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.2584, allocations: 31.97 kB / 0.9984 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.2585, allocations: 23.98 kB / 0.9984 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.2585, allocations: 7.938 kB / 0.9984 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001858/0.2603, allocations: 0.6202 MB / 0.999 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.2604, allocations: 4 kB / 0.999 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/0.261, allocations: 151.4 kB / 0.9992 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/0.2617, allocations: 91.88 kB / 0.9992 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006278/0.2624, allocations: 1.113 MB / 1 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/0.2629, allocations: 35.95 kB / 1 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.2629, allocations: 16 kB / 1 GB, free: 4.734 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0002789/0.2632, allocations: 257.1 kB / 1.001 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2633, allocations: 27.67 kB / 1.001 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.2652, allocations: 0.6281 MB / 1.001 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.2653, allocations: 4 kB / 1.001 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2653, allocations: 8 kB / 1.001 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.2653, allocations: 7.938 kB / 1.001 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.2685, allocations: 1.33 MB / 1.003 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.2685, allocations: 0 / 1.003 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.269, allocations: 68.14 kB / 1.003 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006755/0.2697, allocations: 151.3 kB / 1.003 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.2698, allocations: 12 kB / 1.003 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003668/0.2734, allocations: 3.969 MB / 1.007 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.2735, allocations: 4 kB / 1.007 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.2756, allocations: 0.7964 MB / 1.007 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.2759, allocations: 132.8 kB / 1.008 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.276, allocations: 11.98 kB / 1.008 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.2765, allocations: 39.97 kB / 1.008 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.2767, allocations: 31.91 kB / 1.008 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.2767, allocations: 12 kB / 1.008 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002601/0.277, allocations: 172.4 kB / 1.008 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.277, allocations: 0 / 1.008 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001021/0.278, allocations: 160 kB / 1.008 GB, free: 12.39 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.002527/0.2806, allocations: 1.354 MB / 1.009 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003378/0.284, allocations: 1.217 MB / 1.011 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.284, allocations: 4 kB / 1.011 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.2853, allocations: 489.9 kB / 1.011 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/0.2862, allocations: 60.66 kB / 1.011 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005828/0.2921, allocations: 2.263 MB / 1.013 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.2926, allocations: 0.8045 MB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006231/0.2933, allocations: 106.9 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.2935, allocations: 91.41 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/0.2935, allocations: 0 / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03872/0.3323, allocations: 8.317 MB / 1.022 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003583/0.3327, allocations: 236.7 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/3.434, allocations: 0 / 1.023 GB, free: 13.41 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)