Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_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.392/1.392, allocations: 289.8 MB / 297.1 MB, free: 6.707 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.0009965/0.0009966, allocations: 185.2 kB / 366.3 MB, free: 2.035 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.062/1.062, allocations: 205.1 MB / 0.6256 GB, free: 7.48 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.0008046/0.0008046, allocations: 92.91 kB / 0.7396 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1971/0.1979, allocations: 122.4 MB / 0.8591 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.6726, allocations: 116.3 MB / 0.9727 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.8401, allocations: 172.6 MB / 1.141 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.8405, allocations: 98.06 kB / 1.141 GB, free: 9.785 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.0463/0.8868, allocations: 20.72 MB / 1.162 GB, free: 4.926 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.8868, allocations: 12 kB / 1.162 GB, free: 4.914 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009723/0.8878, allocations: 130.2 kB / 1.162 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.8882, allocations: 270.5 kB / 1.162 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.8882, allocations: 4 kB / 1.162 GB, free: 4.48 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.8882, allocations: 16 kB / 1.162 GB, free: 4.465 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003898/0.8886, allocations: 264.9 kB / 1.162 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.8891, allocations: 367.5 kB / 1.163 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.8891, allocations: 7.844 kB / 1.163 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.8892, allocations: 0 / 1.163 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.8892, allocations: 24.48 kB / 1.163 GB, free: 3.785 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.8915, allocations: 2.026 MB / 1.165 GB, free: 1.578 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.8919, allocations: 277.6 kB / 1.165 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.8922, allocations: 174 kB / 1.165 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.737e-05/0.8923, allocations: 89.28 kB / 1.165 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.8923, allocations: 38.69 kB / 1.165 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.462e-06/0.8923, allocations: 0 / 1.165 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.002004/0.8944, allocations: 0.8895 MB / 1.166 GB, free: 60 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.8944, allocations: 81.11 kB / 1.166 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.8946, allocations: 205.7 kB / 1.166 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.8946, allocations: 25.7 kB / 1.166 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.8947, allocations: 171.9 kB / 1.166 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.8948, allocations: 114.3 kB / 1.167 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.8948, allocations: 0 / 1.167 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.8949, allocations: 334.8 kB / 1.167 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.8951, allocations: 164.8 kB / 1.167 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.8954, allocations: 268.2 kB / 1.167 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.8958, allocations: 227.6 kB / 1.168 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.8958, allocations: 4 kB / 1.168 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001025/0.8969, allocations: 0.5928 MB / 1.168 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003328/0.8972, allocations: 1.216 MB / 1.169 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8972, allocations: 4 kB / 1.169 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003787/0.8976, allocations: 143.3 kB / 1.169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.898, allocations: 99.88 kB / 1.17 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.9004, allocations: 3.818 MB / 1.173 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.9008, allocations: 32.12 kB / 1.173 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.9008, allocations: 16 kB / 1.173 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-06/0.9008, allocations: 4 kB / 1.173 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009741/0.9018, allocations: 0.5283 MB / 1.174 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9018, allocations: 5.594 kB / 1.174 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002725/0.9021, allocations: 133.3 kB / 1.174 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.9025, allocations: 103.8 kB / 1.174 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005806/0.9031, allocations: 1.124 MB / 1.175 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.9034, allocations: 32.16 kB / 1.175 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.9034, allocations: 16 kB / 1.175 GB, free: 6.086 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.0001353/0.9036, allocations: 119.5 kB / 1.175 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.9037, allocations: 31.62 kB / 1.175 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009554/0.9046, allocations: 0.5553 MB / 1.176 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.9046, allocations: 11 kB / 1.176 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.9047, allocations: 4 kB / 1.176 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.9047, allocations: 0 / 1.176 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.9065, allocations: 1.21 MB / 1.177 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.9065, allocations: 3.938 kB / 1.177 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.9068, allocations: 67.89 kB / 1.177 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003588/0.9071, allocations: 153.7 kB / 1.177 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.9072, allocations: 4 kB / 1.177 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.9096, allocations: 3.845 MB / 1.181 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.9096, allocations: 4 kB / 1.181 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009695/0.9105, allocations: 0.8248 MB / 1.182 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001024/0.9116, allocations: 1.196 MB / 1.183 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.9117, allocations: 140.7 kB / 1.183 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.9118, allocations: 3.984 kB / 1.183 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.9121, allocations: 33.78 kB / 1.183 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.9122, allocations: 23.97 kB / 1.183 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.9122, allocations: 16 kB / 1.183 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0001252/0.9124, allocations: 152.5 kB / 1.183 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001899/0.9143, allocations: 167.8 kB / 1.184 GB, free: 12.9 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.0002159/0.9145, allocations: 155 kB / 1.184 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.9158, allocations: 1.029 MB / 1.185 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9158, allocations: 0 / 1.185 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.9164, allocations: 424.3 kB / 1.185 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.9167, allocations: 43.91 kB / 1.185 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.9178, allocations: 0.5665 MB / 1.186 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.9182, allocations: 0.8463 MB / 1.187 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of SimCode: time 2.71e-07/0.9182, allocations: 0.8438 kB / 1.187 GB, free: 9.676 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)