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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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"}) [: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.1.4-maint.8.1.x/package.mo): time 1.358/1.358, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.001045/0.001045, allocations: 185.2 kB / 366.3 MB, free: 1.965 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.054/1.054, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0007887/0.000789, allocations: 88.58 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.192/0.1928, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.6323, allocations: 116.3 MB / 0.9727 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.7997, allocations: 171.1 MB / 1.14 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.8, allocations: 99.86 kB / 1.14 GB, free: 9.137 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: 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.04702/0.847, allocations: 20.45 MB / 1.16 GB, free: 4.465 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.847, allocations: 8 kB / 1.16 GB, free: 4.457 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.8481, allocations: 127.4 kB / 1.16 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.8485, allocations: 270.5 kB / 1.16 GB, free: 4.027 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.8485, allocations: 8 kB / 1.16 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.8485, allocations: 15.94 kB / 1.16 GB, free: 4.004 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004222/0.849, allocations: 265 kB / 1.161 GB, free: 3.746 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.8495, allocations: 367.4 kB / 1.161 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.8495, allocations: 3.906 kB / 1.161 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.8496, allocations: 0 / 1.161 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-05/0.8496, allocations: 36.47 kB / 1.161 GB, free: 3.316 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.852, allocations: 2.018 MB / 1.163 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.8524, allocations: 273.6 kB / 1.163 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.8527, allocations: 186 kB / 1.163 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.8528, allocations: 89.23 kB / 1.163 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.8529, allocations: 38.73 kB / 1.163 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.8529, allocations: 0 / 1.163 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.002134/0.8551, allocations: 0.8865 MB / 1.164 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.8551, allocations: 85.14 kB / 1.164 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.8553, allocations: 191.8 kB / 1.165 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.8553, allocations: 25.7 kB / 1.165 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/0.8554, allocations: 179.8 kB / 1.165 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/0.8555, allocations: 110.3 kB / 1.165 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.8556, allocations: 0 / 1.165 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8557, allocations: 338.8 kB / 1.165 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.8559, allocations: 160.8 kB / 1.165 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.8562, allocations: 272.2 kB / 1.166 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.8567, allocations: 227.6 kB / 1.166 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8567, allocations: 0 / 1.166 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001122/0.8578, allocations: 0.5903 MB / 1.166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000394/0.8582, allocations: 1.22 MB / 1.168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8582, allocations: 7.984 kB / 1.168 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.8586, allocations: 127.4 kB / 1.168 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.859, allocations: 103.9 kB / 1.168 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.8616, allocations: 3.823 MB / 1.172 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.862, allocations: 36.06 kB / 1.172 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.862, allocations: 12 kB / 1.172 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.862, allocations: 4 kB / 1.172 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009776/0.863, allocations: 0.5354 MB / 1.172 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.863, allocations: 0 / 1.172 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.8633, allocations: 135.8 kB / 1.172 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.8637, allocations: 95.83 kB / 1.172 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006298/0.8644, allocations: 1.138 MB / 1.173 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.8647, allocations: 28.17 kB / 1.173 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.8647, allocations: 19.98 kB / 1.174 GB, free: 5.594 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.0001399/0.8648, allocations: 109.4 kB / 1.174 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.8649, allocations: 31.62 kB / 1.174 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009741/0.8659, allocations: 0.5575 MB / 1.174 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.8659, allocations: 7.906 kB / 1.174 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8659, allocations: 0 / 1.174 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.8659, allocations: 3.984 kB / 1.174 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.8678, allocations: 1.212 MB / 1.175 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.8678, allocations: 7.938 kB / 1.175 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.8681, allocations: 59.91 kB / 1.175 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003688/0.8685, allocations: 155.3 kB / 1.176 GB, free: 3.324 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.8685, allocations: 4 kB / 1.176 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.871, allocations: 3.847 MB / 1.179 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.871, allocations: 4.031 kB / 1.179 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009957/0.872, allocations: 0.8141 MB / 1.18 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001049/0.8731, allocations: 1.207 MB / 1.181 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.8732, allocations: 144.7 kB / 1.181 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.8733, allocations: 4 kB / 1.181 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.8736, allocations: 31.97 kB / 1.182 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.8737, allocations: 23.97 kB / 1.182 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.8737, allocations: 8 kB / 1.182 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0001245/0.8738, allocations: 156.5 kB / 1.182 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001852/0.8757, allocations: 163.8 kB / 1.182 GB, free: 12.41 MB / 0.7917 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.0002221/0.8759, allocations: 151 kB / 1.182 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.8773, allocations: 1.034 MB / 1.183 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8773, allocations: 3.938 kB / 1.183 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.8778, allocations: 428.6 kB / 1.183 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.8782, allocations: 47.02 kB / 1.183 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.8793, allocations: 0.5696 MB / 1.184 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/0.8798, allocations: 0.8385 MB / 1.185 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of SimCode: time 2.6e-07/0.8798, allocations: 4 kB / 1.185 GB, free: 9.184 MB / 0.7917 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)