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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.179/2.179, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001578/0.001577, allocations: 173.3 kB / 360.3 MB, free: 7.555 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.652/1.652, allocations: 205.1 MB / 0.6187 GB, free: 13.25 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.001209, allocations: 85 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2517/0.2529, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5622/0.8152, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2517/1.067, allocations: 170.1 MB / 1.129 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/1.067, allocations: 92.45 kB / 1.129 GB, free: 2.594 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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: 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.07981/1.147, allocations: 20.19 MB / 1.149 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.147, allocations: 8 kB / 1.149 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/1.149, allocations: 123.5 kB / 1.149 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/1.149, allocations: 270.5 kB / 1.149 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/1.149, allocations: 8 kB / 1.149 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/1.15, allocations: 12 kB / 1.149 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007551/1.15, allocations: 265 kB / 1.149 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008536/1.151, allocations: 371.7 kB / 1.15 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/1.151, allocations: 3.906 kB / 1.15 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/1.151, allocations: 4 kB / 1.15 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.511e-05/1.151, allocations: 32.47 kB / 1.15 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/1.155, allocations: 2.012 MB / 1.152 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/1.156, allocations: 281.5 kB / 1.152 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005423/1.157, allocations: 185.2 kB / 1.152 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/1.157, allocations: 81.3 kB / 1.152 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/1.157, allocations: 44.55 kB / 1.152 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.955e-06/1.157, allocations: 0 / 1.152 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.003664/1.16, allocations: 0.8826 MB / 1.153 GB, free: 9.457 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/1.161, allocations: 89.08 kB / 1.153 GB, free: 9.352 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/1.161, allocations: 199.8 kB / 1.153 GB, free: 9.148 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/1.161, allocations: 25.7 kB / 1.153 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/1.161, allocations: 172 kB / 1.154 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/1.161, allocations: 110.3 kB / 1.154 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/1.161, allocations: 3.938 kB / 1.154 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.161, allocations: 334.8 kB / 1.154 GB, free: 8.496 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/1.162, allocations: 164.8 kB / 1.154 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/1.162, allocations: 268.3 kB / 1.154 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/1.163, allocations: 226.8 kB / 1.155 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.163, allocations: 0 / 1.155 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001975/1.165, allocations: 0.596 MB / 1.155 GB, free: 7.195 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006255/1.166, allocations: 1.221 MB / 1.156 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/1.166, allocations: 4 kB / 1.156 GB, free: 5.875 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006823/1.167, allocations: 131.4 kB / 1.157 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008581/1.168, allocations: 103.8 kB / 1.157 GB, free: 5.633 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/1.172, allocations: 3.809 MB / 1.16 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/1.173, allocations: 32.12 kB / 1.16 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/1.173, allocations: 20 kB / 1.16 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/1.173, allocations: 5.25 kB / 1.16 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001832/1.175, allocations: 0.5312 MB / 1.161 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.175, allocations: 7.938 kB / 1.161 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/1.175, allocations: 135.8 kB / 1.161 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/1.176, allocations: 95.88 kB / 1.161 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/1.177, allocations: 1.128 MB / 1.162 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/1.177, allocations: 32.16 kB / 1.162 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/1.178, allocations: 16 kB / 1.162 GB, free: 15.48 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] 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.0002483/1.178, allocations: 127 kB / 1.162 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/1.178, allocations: 35.62 kB / 1.162 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/1.18, allocations: 0.5489 MB / 1.163 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.18, allocations: 7.906 kB / 1.163 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.068e-06/1.18, allocations: 4 kB / 1.163 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.18, allocations: 0 / 1.163 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/1.183, allocations: 1.213 MB / 1.164 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.183, allocations: 0 / 1.164 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/1.184, allocations: 71.89 kB / 1.164 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006513/1.184, allocations: 151.3 kB / 1.164 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/1.184, allocations: 8 kB / 1.164 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004212/1.189, allocations: 3.846 MB / 1.168 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.189, allocations: 4 kB / 1.168 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00175/1.19, allocations: 0.8153 MB / 1.169 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001838/1.192, allocations: 1.2 MB / 1.17 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/1.192, allocations: 136.8 kB / 1.17 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.301e-05/1.193, allocations: 7.984 kB / 1.17 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000553/1.193, allocations: 41.7 kB / 1.17 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/1.193, allocations: 19.97 kB / 1.17 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/1.193, allocations: 13.59 kB / 1.17 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0002254/1.193, allocations: 152.5 kB / 1.171 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002812/1.196, allocations: 167.8 kB / 1.171 GB, free: 6.293 MB / 0.7761 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.0002994/1.197, allocations: 147.1 kB / 1.171 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002436/1.199, allocations: 1.037 MB / 1.172 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.199, allocations: 0 / 1.172 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009597/1.2, allocations: 424.4 kB / 1.172 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/1.201, allocations: 50.45 kB / 1.172 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/1.202, allocations: 0.5704 MB / 1.173 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006946/1.203, allocations: 0.8346 MB / 1.174 GB, free: 3.078 MB / 0.7761 GB Notification: Performance of SimCode: time 1.002e-06/1.203, allocations: 4 kB / 1.174 GB, free: 3.074 MB / 0.7761 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)