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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008186/0.0008187, allocations: 89.97 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004794/0.004794, allocations: 174.1 kB / 16.26 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.555/1.555, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004493, allocations: 15.91 kB / 0.6744 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1651, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.004947/0.1701, allocations: 4.975 MB / 0.7929 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00477/0.1748, allocations: 4.117 MB / 0.7969 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.175, allocations: 15.88 kB / 0.7969 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.1752, allocations: 95.23 kB / 0.797 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009649/0.1762, allocations: 0.6147 MB / 0.7976 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008183/0.177, allocations: 0.5028 MB / 0.7981 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.1783, allocations: 1.63 MB / 0.7997 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009422/0.1792, allocations: 0.7006 MB / 0.8004 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.1796, allocations: 390.4 kB / 0.8007 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005792/0.1802, allocations: 0.5293 MB / 0.8012 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.1803, allocations: 36 kB / 0.8013 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.1814, allocations: 1.006 MB / 0.8023 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.1816, allocations: 299.1 kB / 0.8025 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.182, allocations: 419.5 kB / 0.8029 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.1831, allocations: 1.409 MB / 0.8043 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1831, allocations: 0 / 0.8043 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1831, allocations: 0 / 0.8043 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.1832, allocations: 0 / 0.8043 GB, free: 10.66 MB / 0.6231 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.001523/0.1847, allocations: 1.021 MB / 0.8053 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1847, allocations: 12.03 kB / 0.8053 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.1849, allocations: 110.7 kB / 0.8054 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009034/0.1939, allocations: 1.704 MB / 0.8071 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007565/0.1947, allocations: 0.6118 MB / 0.8077 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.1947, allocations: 45.67 kB / 0.8077 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.1949, allocations: 60.34 kB / 0.8078 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004313/0.1992, allocations: 1.921 MB / 0.8097 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.1992, allocations: 7.938 kB / 0.8097 GB, free: 5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.1993, allocations: 23.98 kB / 0.8097 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003117/0.1997, allocations: 153.4 kB / 0.8099 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007169/0.2068, allocations: 2.616 MB / 0.8124 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00814/0.215, allocations: 6.676 MB / 0.8189 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.2181, allocations: 1.252 MB / 0.8202 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002385/0.2204, allocations: 0.9037 MB / 0.821 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/0.2222, allocations: 1.491 MB / 0.8225 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.2222, allocations: 46.56 kB / 0.8225 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/0.2222, allocations: 3.938 kB / 0.8225 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.02557/0.2478, allocations: 8.245 MB / 0.8306 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2478, allocations: 94.11 kB / 0.8307 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/0.2484, allocations: 0.5769 MB / 0.8312 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-05/0.2485, allocations: 45.7 kB / 0.8313 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.2487, allocations: 411 kB / 0.8317 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.249, allocations: 374.6 kB / 0.832 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.2492, allocations: 109.7 kB / 0.8321 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.2493, allocations: 390.8 kB / 0.8325 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002775/0.2521, allocations: 1.111 MB / 0.8336 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002964/0.2551, allocations: 1.464 MB / 0.835 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0057/0.2608, allocations: 2.604 MB / 0.8376 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2608, allocations: 0 / 0.8376 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01031/0.2711, allocations: 3.901 MB / 0.8414 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002009/0.2713, allocations: 404.2 kB / 0.8418 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.2713, allocations: 12 kB / 0.8418 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005037/0.2764, allocations: 1.38 MB / 0.8431 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.2783, allocations: 459.2 kB / 0.8436 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.2923, allocations: 11.25 MB / 0.8545 GB, free: 5.473 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.2942, allocations: 311.6 kB / 0.8548 GB, free: 5.168 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.2943, allocations: 63.97 kB / 0.8549 GB, free: 5.105 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-06/0.2943, allocations: 4 kB / 0.8549 GB, free: 5.102 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009333/0.3037, allocations: 3.577 MB / 0.8584 GB, free: 1.508 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3037, allocations: 15.94 kB / 0.8584 GB, free: 1.492 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003788/0.3075, allocations: 1.096 MB / 0.8595 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.3094, allocations: 483.1 kB / 0.8599 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.3212, allocations: 10.34 MB / 0.87 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.323, allocations: 307.6 kB / 0.8703 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.3232, allocations: 63.97 kB / 0.8704 GB, free: 4.664 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004548/0.3236, allocations: 380.7 kB / 0.8708 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.3238, allocations: 86.91 kB / 0.8708 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/0.3342, allocations: 3.778 MB / 0.8745 GB, free: 396 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.3343, allocations: 12.09 kB / 0.8745 GB, free: 384 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3343, allocations: 4 kB / 0.8746 GB, free: 380 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.3343, allocations: 7.969 kB / 0.8746 GB, free: 372 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.3461, allocations: 5.485 MB / 0.8799 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.3461, allocations: 4 kB / 0.8799 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.3476, allocations: 368 kB / 0.8803 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004368/0.352, allocations: 1.244 MB / 0.8815 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-05/0.3521, allocations: 35.92 kB / 0.8815 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.3649, allocations: 10.74 MB / 0.892 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.3649, allocations: 11.88 kB / 0.892 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009159/0.3741, allocations: 3.689 MB / 0.8956 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.3745, allocations: 343.8 kB / 0.896 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.3747, allocations: 20 kB / 0.896 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.3765, allocations: 327.5 kB / 0.8963 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/0.3767, allocations: 104.1 kB / 0.8964 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.101e-05/0.3768, allocations: 43.97 kB / 0.8964 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004096/0.3772, allocations: 402.8 kB / 0.8968 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3772, allocations: 0 / 0.8968 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001616/0.3789, allocations: 0.5977 MB / 0.8974 GB, free: 8.176 MB / 0.7169 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009802/0.3887, allocations: 4.268 MB / 0.9016 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01309/0.4018, allocations: 5.727 MB / 0.9072 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4018, allocations: 4.188 kB / 0.9072 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004868/0.4067, allocations: 2.11 MB / 0.9092 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.408, allocations: 166.3 kB / 0.9094 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3209/0.7289, allocations: 16.22 MB / 0.9252 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.7295, allocations: 1.109 MB / 0.9263 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001833/0.7314, allocations: 0.5367 MB / 0.9268 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/0.7319, allocations: 301.1 kB / 0.9271 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.7319, allocations: 3.844 kB / 0.9271 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.074/2.806, allocations: 33.44 MB / 0.9598 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/2.806, allocations: 263.6 kB / 0.96 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.874/5.68, allocations: 0 / 0.96 GB, free: 114.1 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)