Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 249.3 MB / 261.8 MB, free: 5.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009754/0.0009752, allocations: 182.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.1 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 94.41 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.158e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8984/1.109, allocations: 164.6 MB / 1.053 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/1.109, allocations: 100.1 kB / 1.053 GB, free: 4.449 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.05386/1.163, allocations: 20.34 MB / 1.073 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.883e-06/1.163, allocations: 0 / 1.073 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.72e-05/1.163, allocations: 8 kB / 1.073 GB, free: 3.559 MB / 0.6823 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.001103/1.164, allocations: 0.5704 MB / 1.073 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.164, allocations: 8.031 kB / 1.073 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/1.165, allocations: 60.16 kB / 1.073 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/1.166, allocations: 131.1 kB / 1.073 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/1.166, allocations: 269.2 kB / 1.074 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/1.166, allocations: 22.98 kB / 1.074 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/1.166, allocations: 15.5 kB / 1.074 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/1.167, allocations: 387.2 kB / 1.074 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.167, allocations: 7.938 kB / 1.074 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/1.167, allocations: 14.42 kB / 1.074 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/1.167, allocations: 28.53 kB / 1.074 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/1.168, allocations: 318.9 kB / 1.074 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/1.17, allocations: 2.063 MB / 1.076 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/1.171, allocations: 330.9 kB / 1.077 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/1.171, allocations: 175.1 kB / 1.077 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/1.171, allocations: 89.28 kB / 1.077 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/1.171, allocations: 38.31 kB / 1.077 GB, free: 15.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.484e-06/1.171, allocations: 0 / 1.077 GB, free: 15.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.004811/1.176, allocations: 1.45 MB / 1.078 GB, free: 14.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/1.176, allocations: 85.05 kB / 1.078 GB, free: 13.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/1.177, allocations: 205.7 kB / 1.079 GB, free: 13.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/1.177, allocations: 29.02 kB / 1.079 GB, free: 13.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/1.177, allocations: 188.3 kB / 1.079 GB, free: 13.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.907e-05/1.177, allocations: 117.6 kB / 1.079 GB, free: 13.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/1.177, allocations: 11.03 kB / 1.079 GB, free: 13.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.177, allocations: 341.9 kB / 1.079 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/1.177, allocations: 166.9 kB / 1.079 GB, free: 13.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/1.178, allocations: 272.9 kB / 1.08 GB, free: 12.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/1.178, allocations: 205.6 kB / 1.08 GB, free: 12.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.178, allocations: 0 / 1.08 GB, free: 12.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001188/1.179, allocations: 0.5994 MB / 1.081 GB, free: 12.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006032/1.18, allocations: 1.222 MB / 1.082 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.18, allocations: 3.938 kB / 1.082 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006752/1.181, allocations: 149.4 kB / 1.082 GB, free: 10.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/1.181, allocations: 99.69 kB / 1.082 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/1.184, allocations: 3.941 MB / 1.086 GB, free: 6.645 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/1.185, allocations: 39.69 kB / 1.086 GB, free: 6.613 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/1.185, allocations: 19.05 kB / 1.086 GB, free: 6.598 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.185, allocations: 5.25 kB / 1.086 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001404/1.186, allocations: 0.5557 MB / 1.086 GB, free: 6.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.186, allocations: 4 kB / 1.086 GB, free: 6.176 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/1.187, allocations: 138.7 kB / 1.087 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/1.188, allocations: 99.47 kB / 1.087 GB, free: 5.961 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000881/1.188, allocations: 1.107 MB / 1.088 GB, free: 4.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/1.189, allocations: 41.47 kB / 1.088 GB, free: 4.797 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/1.189, allocations: 15.31 kB / 1.088 GB, free: 4.785 MB / 0.698 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 () * 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.0002092/1.189, allocations: 131.3 kB / 1.088 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/1.189, allocations: 31.58 kB / 1.088 GB, free: 4.629 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/1.19, allocations: 0.5569 MB / 1.088 GB, free: 4.223 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.19, allocations: 4 kB / 1.088 GB, free: 4.219 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.19, allocations: 3.953 kB / 1.088 GB, free: 4.215 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.19, allocations: 3.984 kB / 1.089 GB, free: 4.211 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/1.193, allocations: 1.258 MB / 1.09 GB, free: 3.098 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.193, allocations: 4 kB / 1.09 GB, free: 3.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/1.193, allocations: 63.89 kB / 1.09 GB, free: 3.031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/1.193, allocations: 156 kB / 1.09 GB, free: 2.895 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/1.193, allocations: 11.44 kB / 1.09 GB, free: 2.887 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/1.196, allocations: 3.963 MB / 1.094 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.196, allocations: 4.25 kB / 1.094 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/1.197, allocations: 0.8156 MB / 1.095 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/1.198, allocations: 144.8 kB / 1.095 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/1.198, allocations: 11.52 kB / 1.095 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/1.198, allocations: 42.09 kB / 1.095 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/1.198, allocations: 27.27 kB / 1.095 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/1.198, allocations: 15.5 kB / 1.095 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001855/1.198, allocations: 167.2 kB / 1.095 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.198, allocations: 0 / 1.095 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009089/1.199, allocations: 183.2 kB / 1.095 GB, free: 13.52 MB / 0.7136 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 () * 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.001768/1.201, allocations: 2.026 MB / 1.097 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001793/1.203, allocations: 1.093 MB / 1.098 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.203, allocations: 7.938 kB / 1.098 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006563/1.204, allocations: 449.3 kB / 1.099 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/1.204, allocations: 52.39 kB / 1.099 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/1.206, allocations: 0.6584 MB / 1.099 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/1.206, allocations: 0.8123 MB / 1.1 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004827/1.207, allocations: 122.8 kB / 1.1 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/1.207, allocations: 87.41 kB / 1.1 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/1.207, allocations: 4 kB / 1.1 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/1.234, allocations: 8.507 MB / 1.109 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/1.234, allocations: 215.7 kB / 1.109 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/3.395, allocations: 2.5 kB / 1.109 GB, free: 15.43 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)