Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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.ACACTransformer,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",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.355/1.355, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.0009718/0.0009718, allocations: 185.2 kB / 366.3 MB, free: 1.984 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.043/1.043, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0008312/0.0008312, allocations: 81.92 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1887/0.1896, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.6275, allocations: 116.3 MB / 0.9727 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.17/0.7975, allocations: 180.7 MB / 1.149 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.7978, allocations: 91.94 kB / 1.149 GB, free: 15.68 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.1038/0.9017, allocations: 45 MB / 1.193 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.9017, allocations: 8 kB / 1.193 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008756/0.9105, allocations: 1.185 MB / 1.194 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.9116, allocations: 0.5488 MB / 1.195 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.9116, allocations: 20 kB / 1.195 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.9118, allocations: 35.98 kB / 1.195 GB, free: 424 kB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002266/0.9141, allocations: 1.272 MB / 1.196 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.9161, allocations: 1.287 MB / 1.197 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.9161, allocations: 0 / 1.197 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.9162, allocations: 7.984 kB / 1.197 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001948/0.9164, allocations: 105 kB / 1.197 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008995/0.9254, allocations: 6.249 MB / 1.204 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.9268, allocations: 0.918 MB / 1.204 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/0.9275, allocations: 0.5673 MB / 1.205 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002683/0.9302, allocations: 2.218 MB / 1.207 GB, free: 3.145 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.9303, allocations: 50.44 kB / 1.207 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=69): time 2.304e-06/0.9303, allocations: 4 kB / 1.207 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of matching and sorting (n=93): time 0.008977/0.9393, allocations: 3.579 MB / 1.211 GB, free: 15.48 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.9394, allocations: 191.9 kB / 1.211 GB, free: 15.25 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/0.9399, allocations: 436.9 kB / 1.211 GB, free: 14.81 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.85e-05/0.94, allocations: 29.7 kB / 1.211 GB, free: 14.78 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.9402, allocations: 362.7 kB / 1.212 GB, free: 14.41 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.9405, allocations: 311.3 kB / 1.212 GB, free: 14.11 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.9406, allocations: 0 / 1.212 GB, free: 14.11 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.9407, allocations: 374.8 kB / 1.212 GB, free: 13.73 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009978/0.9417, allocations: 0.6429 MB / 1.213 GB, free: 13.09 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.9429, allocations: 0.9165 MB / 1.214 GB, free: 12.06 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.9446, allocations: 0.872 MB / 1.215 GB, free: 11.19 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.9446, allocations: 4 kB / 1.215 GB, free: 11.19 MB / 0.823 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005587/0.9502, allocations: 2.396 MB / 1.217 GB, free: 8.766 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001153/0.9514, allocations: 3.14 MB / 1.22 GB, free: 5.383 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.9514, allocations: 8 kB / 1.22 GB, free: 5.375 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/0.9543, allocations: 0.6717 MB / 1.221 GB, free: 4.691 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.9563, allocations: 395.6 kB / 1.221 GB, free: 4.305 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008116/0.9645, allocations: 6.921 MB / 1.228 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.9664, allocations: 203.7 kB / 1.228 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.9666, allocations: 67.95 kB / 1.228 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.022e-06/0.9666, allocations: 4 kB / 1.228 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003431/0.97, allocations: 1.777 MB / 1.23 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.9701, allocations: 8 kB / 1.23 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000646/0.9707, allocations: 214 kB / 1.23 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/0.973, allocations: 435.3 kB / 1.231 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.9766, allocations: 3.684 MB / 1.234 GB, free: 6.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.9784, allocations: 191.7 kB / 1.234 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.9786, allocations: 63.97 kB / 1.234 GB, free: 6.156 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.9789, allocations: 128.6 kB / 1.235 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.9791, allocations: 75.16 kB / 1.235 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005918/0.9851, allocations: 2.349 MB / 1.237 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.9851, allocations: 15.91 kB / 1.237 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.9851, allocations: 8 kB / 1.237 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.9851, allocations: 3.984 kB / 1.237 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2243/1.209, allocations: 4.108 MB / 1.241 GB, free: 294.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.209, allocations: 7.078 kB / 1.241 GB, free: 294.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/1.211, allocations: 292.8 kB / 1.241 GB, free: 294.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002909/1.214, allocations: 0.7973 MB / 1.242 GB, free: 294.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/1.214, allocations: 21.25 kB / 1.242 GB, free: 294.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007178/1.221, allocations: 7.912 MB / 1.25 GB, free: 290.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.221, allocations: 10.91 kB / 1.25 GB, free: 290.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004718/1.226, allocations: 2.697 MB / 1.252 GB, free: 289.3 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004594/1.231, allocations: 3.083 MB / 1.255 GB, free: 288 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/1.231, allocations: 311.2 kB / 1.256 GB, free: 287.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/1.232, allocations: 10.39 kB / 1.256 GB, free: 287.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/1.233, allocations: 216.1 kB / 1.256 GB, free: 287.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.233, allocations: 58.22 kB / 1.256 GB, free: 287.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/1.234, allocations: 42.81 kB / 1.256 GB, free: 287.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003248/1.234, allocations: 335.8 kB / 1.256 GB, free: 287.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002913/1.237, allocations: 441.5 kB / 1.257 GB, free: 287.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002207/1.237, allocations: 132.9 kB / 1.257 GB, free: 287.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004481/1.242, allocations: 3.123 MB / 1.26 GB, free: 287.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.242, allocations: 0 / 1.26 GB, free: 287.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/1.243, allocations: 1.268 MB / 1.261 GB, free: 286.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/1.244, allocations: 95.34 kB / 1.261 GB, free: 286.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008062/1.252, allocations: 2.375 MB / 1.264 GB, free: 286.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.253, allocations: 1.138 MB / 1.265 GB, free: 285.6 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.253, allocations: 2.531 kB / 1.265 GB, free: 285.6 MB / 0.8386 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1)