Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000929/0.000929, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001126/0.001127, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005311/0.0005311, allocations: 13.41 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2514, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003817/0.2553, allocations: 2.907 MB / 0.7903 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.2583, allocations: 2.048 MB / 0.7923 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.2584, allocations: 4 kB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.2586, allocations: 43.64 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005302/0.2591, allocations: 167.2 kB / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.2597, allocations: 215.5 kB / 0.7927 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.2601, allocations: 442.6 kB / 0.7931 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006766/0.2608, allocations: 329.3 kB / 0.7934 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.261, allocations: 123.5 kB / 0.7935 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.2613, allocations: 167.4 kB / 0.7937 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.2613, allocations: 12 kB / 0.7937 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.2618, allocations: 263.6 kB / 0.7939 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/0.2619, allocations: 87.7 kB / 0.794 GB, free: 5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.262, allocations: 73.58 kB / 0.7941 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.2624, allocations: 375.1 kB / 0.7944 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2624, allocations: 0 / 0.7944 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.91e-07/0.2624, allocations: 4 kB / 0.7945 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2624, allocations: 0 / 0.7945 GB, free: 4.551 MB / 0.6075 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.0009738/0.2634, allocations: 0.5611 MB / 0.795 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2635, allocations: 12.03 kB / 0.795 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.655e-05/0.2635, allocations: 62.47 kB / 0.7951 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000813/0.2643, allocations: 127.4 kB / 0.7952 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.2648, allocations: 262.6 kB / 0.7954 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2648, allocations: 16.44 kB / 0.7955 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.2648, allocations: 16 kB / 0.7955 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.2655, allocations: 423.5 kB / 0.7959 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2655, allocations: 7.875 kB / 0.7959 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.2655, allocations: 8 kB / 0.7959 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/0.2656, allocations: 36.53 kB / 0.7959 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.2662, allocations: 357.9 kB / 0.7963 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.2686, allocations: 2.066 MB / 0.7983 GB, free: 312 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008315/0.2695, allocations: 353.7 kB / 0.7986 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004066/0.2699, allocations: 198 kB / 0.7988 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.27, allocations: 89.28 kB / 0.7989 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.2701, allocations: 38.75 kB / 0.7989 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.2701, allocations: 0 / 0.7989 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.004756/0.2748, allocations: 1.754 MB / 0.8006 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.2749, allocations: 93 kB / 0.8007 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.2752, allocations: 228.9 kB / 0.801 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.2752, allocations: 29.7 kB / 0.801 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.2753, allocations: 187.9 kB / 0.8012 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.032e-05/0.2754, allocations: 114.4 kB / 0.8013 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.2755, allocations: 12 kB / 0.8013 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2756, allocations: 338.8 kB / 0.8016 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.276, allocations: 196.8 kB / 0.8018 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.2764, allocations: 316.1 kB / 0.8021 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.2769, allocations: 244.3 kB / 0.8023 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2769, allocations: 4 kB / 0.8023 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00138/0.2783, allocations: 0.6769 MB / 0.803 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.2785, allocations: 180.3 kB / 0.8032 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2785, allocations: 4 kB / 0.8032 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005315/0.2791, allocations: 143.3 kB / 0.8033 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.2795, allocations: 103.8 kB / 0.8034 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/0.2826, allocations: 3.946 MB / 0.8073 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.283, allocations: 40.12 kB / 0.8073 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.283, allocations: 19.98 kB / 0.8073 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.283, allocations: 4 kB / 0.8073 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/0.2842, allocations: 0.6121 MB / 0.8079 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2842, allocations: 4 kB / 0.8079 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003528/0.2845, allocations: 147.3 kB / 0.8081 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.2849, allocations: 100 kB / 0.8082 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006515/0.2856, allocations: 1.109 MB / 0.8092 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.2859, allocations: 40.16 kB / 0.8093 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.2859, allocations: 19.98 kB / 0.8093 GB, free: 4.387 MB / 0.6231 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.0002345/0.2861, allocations: 250.1 kB / 0.8095 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.2862, allocations: 27.67 kB / 0.8096 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.2876, allocations: 0.6442 MB / 0.8102 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2876, allocations: 4 kB / 0.8102 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2876, allocations: 0 / 0.8102 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.2876, allocations: 3.984 kB / 0.8102 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.2899, allocations: 1.341 MB / 0.8115 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.29, allocations: 0 / 0.8115 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.2902, allocations: 67.89 kB / 0.8116 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005093/0.2907, allocations: 151.6 kB / 0.8117 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.2908, allocations: 11.95 kB / 0.8117 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/0.2943, allocations: 3.961 MB / 0.8156 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.2943, allocations: 7.953 kB / 0.8156 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.2958, allocations: 0.7926 MB / 0.8164 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.296, allocations: 140.8 kB / 0.8165 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.296, allocations: 8 kB / 0.8165 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.2963, allocations: 35.95 kB / 0.8166 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/0.2964, allocations: 39.92 kB / 0.8166 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.2964, allocations: 8 kB / 0.8166 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002781/0.2967, allocations: 168.5 kB / 0.8168 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.444e-06/0.2967, allocations: 0 / 0.8168 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008189/0.2976, allocations: 163.9 kB / 0.8169 GB, free: 12.04 MB / 0.6387 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.001572/0.2991, allocations: 1.358 MB / 0.8182 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.3014, allocations: 1.22 MB / 0.8194 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3015, allocations: 0 / 0.8194 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008856/0.3023, allocations: 486.2 kB / 0.8199 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.3029, allocations: 68.3 kB / 0.82 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.3067, allocations: 2.257 MB / 0.8222 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.3071, allocations: 0.8006 MB / 0.823 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003591/0.3075, allocations: 114.8 kB / 0.8231 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.3076, allocations: 87.41 kB / 0.8231 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of SimCode: time 1.072e-06/0.3076, allocations: 3.938 kB / 0.8231 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.3305, allocations: 8.265 MB / 0.8312 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.3307, allocations: 244.4 kB / 0.8315 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.286, allocations: 0 / 0.8315 GB, free: 13.07 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) Environment - environmentSimulation: