Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.093/2.093, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 169.3 kB / 360.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.1 MB / 0.6188 GB, free: 12.49 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 89.44 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.968e-06/1.013e-05, allocations: 4 kB / 0.8503 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5365/0.5365, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2493/0.7858, allocations: 170.1 MB / 1.129 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/0.7862, allocations: 92.88 kB / 1.129 GB, free: 2.496 MB / 0.7292 GB [/var/lib/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: Performance of FrontEnd: time 0.07834/0.8646, allocations: 19.59 MB / 1.148 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.762e-05/0.8646, allocations: 12 kB / 1.148 GB, free: 14.82 MB / 0.7605 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.001234/0.8659, allocations: 0.5777 MB / 1.149 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.8659, allocations: 8.531 kB / 1.149 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.8676, allocations: 125 kB / 1.149 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.8682, allocations: 266.6 kB / 1.149 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.8682, allocations: 8 kB / 1.149 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.8683, allocations: 12 kB / 1.149 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007804/0.8691, allocations: 272.9 kB / 1.149 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008563/0.8699, allocations: 359.8 kB / 1.15 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.87, allocations: 7.844 kB / 1.15 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.87, allocations: 0 / 1.15 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-05/0.8701, allocations: 37.97 kB / 1.15 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/0.874, allocations: 2.005 MB / 1.152 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/0.8747, allocations: 289.5 kB / 1.152 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.8753, allocations: 180.5 kB / 1.152 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.8755, allocations: 89.28 kB / 1.152 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.8755, allocations: 38.69 kB / 1.152 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.755e-06/0.8755, allocations: 0 / 1.152 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.003775/0.8793, allocations: 0.8885 MB / 1.153 GB, free: 9.34 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.8794, allocations: 81.11 kB / 1.153 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.8797, allocations: 199.8 kB / 1.153 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.8798, allocations: 29.73 kB / 1.153 GB, free: 9.004 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.8799, allocations: 168 kB / 1.154 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.8801, allocations: 118.2 kB / 1.154 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.8801, allocations: 0 / 1.154 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.8803, allocations: 338.8 kB / 1.154 GB, free: 8.379 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.8808, allocations: 156.8 kB / 1.154 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.8813, allocations: 270.5 kB / 1.154 GB, free: 7.918 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.8821, allocations: 226.8 kB / 1.155 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8822, allocations: 0 / 1.155 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001998/0.8842, allocations: 0.5952 MB / 1.155 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005572/0.8848, allocations: 1.221 MB / 1.156 GB, free: 5.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.8848, allocations: 4 kB / 1.156 GB, free: 5.766 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006648/0.8855, allocations: 139.3 kB / 1.157 GB, free: 5.617 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/0.8863, allocations: 99.88 kB / 1.157 GB, free: 5.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004264/0.8906, allocations: 3.818 MB / 1.16 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006788/0.8913, allocations: 32.12 kB / 1.16 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.8914, allocations: 21.05 kB / 1.16 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.8914, allocations: 4 kB / 1.16 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001807/0.8933, allocations: 0.5332 MB / 1.161 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8933, allocations: 4 kB / 1.161 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.8938, allocations: 127.5 kB / 1.161 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/0.8946, allocations: 99.81 kB / 1.161 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.8957, allocations: 1.132 MB / 1.162 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.8962, allocations: 32.16 kB / 1.162 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.8963, allocations: 16 kB / 1.162 GB, free: 15.36 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.00023/0.8965, allocations: 121.3 kB / 1.162 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.8967, allocations: 31.62 kB / 1.163 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.8985, allocations: 0.5605 MB / 1.163 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.8985, allocations: 7.906 kB / 1.163 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.8985, allocations: 8 kB / 1.163 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.8986, allocations: 0 / 1.163 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.9018, allocations: 1.211 MB / 1.164 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.9018, allocations: 256 / 1.164 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005969/0.9025, allocations: 75.83 kB / 1.164 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000663/0.9031, allocations: 151.2 kB / 1.164 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.9032, allocations: 4 kB / 1.164 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004227/0.9074, allocations: 3.847 MB / 1.168 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.9075, allocations: 8.062 kB / 1.168 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001765/0.9093, allocations: 0.8118 MB / 1.169 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.9095, allocations: 136.7 kB / 1.169 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.956e-05/0.9096, allocations: 4 kB / 1.169 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.9102, allocations: 31.97 kB / 1.169 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.9103, allocations: 23.97 kB / 1.169 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.9103, allocations: 19.91 kB / 1.169 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0002233/0.9106, allocations: 160.5 kB / 1.169 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001072/0.9116, allocations: 155.9 kB / 1.17 GB, free: 7.484 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.0002969/0.912, allocations: 143 kB / 1.17 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002341/0.9143, allocations: 1.03 MB / 1.171 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9143, allocations: 0 / 1.171 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.9153, allocations: 433.1 kB / 1.171 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.9159, allocations: 38.56 kB / 1.171 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.9177, allocations: 0.5634 MB / 1.172 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007006/0.9184, allocations: 0.8502 MB / 1.173 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of SimCode: time 9.02e-07/0.9184, allocations: 0 / 1.173 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of Templates: time 0.01897/0.9374, allocations: 6.799 MB / 1.179 GB, free: 13.59 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (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 & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)