Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") [: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.319/1.319, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.0009293/0.0009293, allocations: 181.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.98/0.98, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.000743/0.000743, allocations: 80.58 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.861e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.416, allocations: 116.3 MB / 0.9726 GB, free: 68.78 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/0.5877, allocations: 180.1 MB / 1.148 GB, free: 304 kB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.588, allocations: 91.88 kB / 1.149 GB, free: 212 kB / 0.7448 GB Notification: Performance of FrontEnd: time 0.1013/0.6893, allocations: 44.24 MB / 1.192 GB, free: 3.617 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.769e-05/0.6894, allocations: 20 kB / 1.192 GB, free: 3.598 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001868/0.6913, allocations: 0.9695 MB / 1.193 GB, free: 2.578 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.6913, allocations: 12.03 kB / 1.193 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00901/0.7003, allocations: 1.251 MB / 1.194 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.7015, allocations: 0.6225 MB / 1.195 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.7016, allocations: 16 kB / 1.195 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.7017, allocations: 40 kB / 1.195 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002162/0.7039, allocations: 1.342 MB / 1.196 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.7059, allocations: 1.379 MB / 1.197 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.7059, allocations: 4 kB / 1.197 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.706, allocations: 0 / 1.197 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000285/0.7063, allocations: 145.5 kB / 1.197 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009222/0.7156, allocations: 6.557 MB / 1.204 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.7166, allocations: 0.8335 MB / 1.205 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00076/0.7174, allocations: 0.5757 MB / 1.205 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001931/0.7194, allocations: 1.481 MB / 1.207 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.7194, allocations: 46.56 kB / 1.207 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/0.7194, allocations: 0 / 1.207 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of matching and sorting (n=107): time 0.01006/0.7295, allocations: 4.179 MB / 1.211 GB, free: 15.51 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.7295, allocations: 90.05 kB / 1.211 GB, free: 15.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005153/0.7301, allocations: 485.9 kB / 1.211 GB, free: 14.91 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.752e-05/0.7302, allocations: 25.7 kB / 1.211 GB, free: 14.88 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.7303, allocations: 355.1 kB / 1.212 GB, free: 14.53 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.7306, allocations: 358.7 kB / 1.212 GB, free: 14.17 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.7307, allocations: 0 / 1.212 GB, free: 14.17 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.7309, allocations: 390.8 kB / 1.212 GB, free: 13.78 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.7319, allocations: 0.7562 MB / 1.213 GB, free: 13.02 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.7332, allocations: 1.085 MB / 1.214 GB, free: 11.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.7351, allocations: 1.018 MB / 1.215 GB, free: 10.79 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.7351, allocations: 4 kB / 1.215 GB, free: 10.78 MB / 0.823 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00643/0.7415, allocations: 2.941 MB / 1.218 GB, free: 7.816 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001286/0.7428, allocations: 3.911 MB / 1.222 GB, free: 3.598 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.7428, allocations: 8 kB / 1.222 GB, free: 3.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003614/0.7465, allocations: 0.9554 MB / 1.223 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.7483, allocations: 387.4 kB / 1.223 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.7585, allocations: 8.369 MB / 1.231 GB, free: 9.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.7604, allocations: 207.6 kB / 1.232 GB, free: 9.301 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.7605, allocations: 63.97 kB / 1.232 GB, free: 9.238 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.772e-06/0.7605, allocations: 4 kB / 1.232 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004426/0.765, allocations: 2.328 MB / 1.234 GB, free: 6.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.765, allocations: 12 kB / 1.234 GB, free: 6.879 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.7666, allocations: 0.5778 MB / 1.234 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.7686, allocations: 411.4 kB / 1.235 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2273/0.9959, allocations: 8.083 MB / 1.243 GB, free: 293.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.9978, allocations: 191.5 kB / 1.243 GB, free: 293.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.9979, allocations: 69.84 kB / 1.243 GB, free: 293.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002832/0.9982, allocations: 137.3 kB / 1.243 GB, free: 293.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.9984, allocations: 86.59 kB / 1.243 GB, free: 293.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00618/1.005, allocations: 2.995 MB / 1.246 GB, free: 293.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.005, allocations: 11.38 kB / 1.246 GB, free: 293.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.005, allocations: 5.812 kB / 1.246 GB, free: 293.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.005, allocations: 13.36 kB / 1.246 GB, free: 293.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007274/1.012, allocations: 4.556 MB / 1.251 GB, free: 292.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.012, allocations: 9.594 kB / 1.251 GB, free: 292.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/1.013, allocations: 299.1 kB / 1.251 GB, free: 292.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003324/1.017, allocations: 1.038 MB / 1.252 GB, free: 292.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-05/1.017, allocations: 20.3 kB / 1.252 GB, free: 292.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009443/1.026, allocations: 9.699 MB / 1.261 GB, free: 287.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.026, allocations: 13.22 kB / 1.261 GB, free: 287.9 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005062/1.031, allocations: 3.119 MB / 1.264 GB, free: 287 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/1.032, allocations: 342.5 kB / 1.265 GB, free: 286.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/1.032, allocations: 11.28 kB / 1.265 GB, free: 286.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.034, allocations: 218.6 kB / 1.265 GB, free: 286.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.034, allocations: 71.28 kB / 1.265 GB, free: 286.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.034, allocations: 44.45 kB / 1.265 GB, free: 286.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003645/1.034, allocations: 361.6 kB / 1.266 GB, free: 286.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001757/1.036, allocations: 0.502 MB / 1.266 GB, free: 286.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002091/1.036, allocations: 138.1 kB / 1.266 GB, free: 286.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005657/1.042, allocations: 3.909 MB / 1.27 GB, free: 285.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.042, allocations: 0 / 1.27 GB, free: 285.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/1.044, allocations: 1.533 MB / 1.271 GB, free: 285.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/1.045, allocations: 118.4 kB / 1.272 GB, free: 285.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007557/1.053, allocations: 2.636 MB / 1.274 GB, free: 285 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008525/1.054, allocations: 1.189 MB / 1.275 GB, free: 284.3 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/1.054, allocations: 1.875 kB / 1.275 GB, free: 284.3 MB / 0.8386 GB Notification: Performance of Templates: time 0.04071/1.094, allocations: 33.08 MB / 1.308 GB, free: 283.1 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)