Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 168.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009804/0.0009811, allocations: 91.89 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.871e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1871, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7494/0.9366, allocations: 181.2 MB / 1.062 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.937, allocations: 96.03 kB / 1.062 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2387/1.176, allocations: 98.16 MB / 1.158 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.904e-06/1.176, allocations: 4 kB / 1.158 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001382/1.176, allocations: 55.94 kB / 1.158 GB, free: 13.72 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.006953/1.183, allocations: 2.251 MB / 1.16 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.183, allocations: 12.03 kB / 1.16 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/1.195, allocations: 1.881 MB / 1.162 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004442/1.199, allocations: 1.603 MB / 1.164 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/1.199, allocations: 92 kB / 1.164 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/1.201, allocations: 156 kB / 1.164 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009346/1.21, allocations: 3.826 MB / 1.168 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/1.22, allocations: 4.126 MB / 1.172 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.803e-05/1.22, allocations: 4 kB / 1.172 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003074/1.221, allocations: 0 / 1.172 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003522/1.221, allocations: 188.5 kB / 1.172 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02407/1.245, allocations: 20.4 MB / 1.192 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/1.248, allocations: 2.455 MB / 1.194 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/1.25, allocations: 1.368 MB / 1.196 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/1.25, allocations: 122.3 kB / 1.196 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/1.25, allocations: 55.86 kB / 1.196 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=139): time 4.098e-06/1.25, allocations: 3.938 kB / 1.196 GB, free: 4.938 MB / 0.8073 GB Notification: Performance of matching and sorting (n=181): time 0.01467/1.265, allocations: 7.749 MB / 1.203 GB, free: 13.15 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/1.265, allocations: 226.9 kB / 1.204 GB, free: 12.88 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/1.266, allocations: 0.8352 MB / 1.204 GB, free: 12.04 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001999/1.266, allocations: 25.7 kB / 1.205 GB, free: 12.01 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/1.267, allocations: 1.096 MB / 1.206 GB, free: 10.89 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005382/1.267, allocations: 0.5967 MB / 1.206 GB, free: 10.29 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/1.267, allocations: 0 / 1.206 GB, free: 10.29 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002188/1.268, allocations: 427.3 kB / 1.207 GB, free: 9.863 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/1.269, allocations: 1.383 MB / 1.208 GB, free: 8.477 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/1.272, allocations: 1.934 MB / 1.21 GB, free: 6.301 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/1.275, allocations: 2.02 MB / 1.212 GB, free: 4.289 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/1.275, allocations: 4 kB / 1.212 GB, free: 4.285 MB / 0.823 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.008428/1.284, allocations: 4.589 MB / 1.216 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002162/1.286, allocations: 6.708 MB / 1.223 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-05/1.286, allocations: 16 kB / 1.223 GB, free: 8.426 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002508/1.288, allocations: 0.9732 MB / 1.224 GB, free: 7.445 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/1.292, allocations: 0.7409 MB / 1.225 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/1.306, allocations: 10.01 MB / 1.234 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00361/1.31, allocations: 407.1 kB / 1.235 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005722/1.31, allocations: 115.9 kB / 1.235 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/1.31, allocations: 4 kB / 1.235 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008433/1.319, allocations: 4.307 MB / 1.239 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.814e-05/1.319, allocations: 16 kB / 1.239 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/1.321, allocations: 0.8413 MB / 1.24 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003453/1.324, allocations: 0.7487 MB / 1.241 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/1.336, allocations: 9.584 MB / 1.25 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/1.34, allocations: 403.1 kB / 1.25 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003771/1.34, allocations: 115.9 kB / 1.25 GB, free: 11.67 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 218 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005621/1.341, allocations: 160.3 kB / 1.251 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006744/1.347, allocations: 3.619 MB / 1.254 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004617/1.348, allocations: 118.6 kB / 1.254 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008027/1.356, allocations: 4.269 MB / 1.258 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/1.356, allocations: 19.94 kB / 1.258 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/1.356, allocations: 16 kB / 1.258 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.631e-05/1.356, allocations: 11.97 kB / 1.258 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4868/1.843, allocations: 7.241 MB / 1.265 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-05/1.843, allocations: 9.344 kB / 1.266 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003053/1.846, allocations: 0.5305 MB / 1.266 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002578/1.848, allocations: 0.845 MB / 1.267 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003329/1.849, allocations: 31.66 kB / 1.267 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/1.862, allocations: 9.31 MB / 1.276 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.253e-05/1.863, allocations: 11.22 kB / 1.276 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008253/1.871, allocations: 4.152 MB / 1.28 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.872, allocations: 0.5269 MB / 1.281 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006226/1.873, allocations: 9.984 kB / 1.281 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003479/1.876, allocations: 380.6 kB / 1.281 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006506/1.877, allocations: 155.9 kB / 1.281 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003085/1.877, allocations: 70.27 kB / 1.281 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001688/1.879, allocations: 0.6532 MB / 1.282 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.879, allocations: 0 / 1.282 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006145/1.885, allocations: 1.088 MB / 1.283 GB, free: 251.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008435/1.894, allocations: 6.586 MB / 1.289 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.907, allocations: 6.334 MB / 1.295 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/1.907, allocations: 1.25 kB / 1.295 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004038/1.911, allocations: 2.054 MB / 1.297 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/1.912, allocations: 124.7 kB / 1.298 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/1.933, allocations: 6.433 MB / 1.304 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/1.935, allocations: 2.271 MB / 1.306 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004322/1.94, allocations: 1.325 MB / 1.307 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/1.941, allocations: 0.8028 MB / 1.308 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.072e-06/1.941, allocations: 6.703 kB / 1.308 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07797/2.019, allocations: 50.53 MB / 1.358 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/2.019, allocations: 183.4 kB / 1.358 GB, free: 241.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.975/4.994, allocations: 0 / 1.358 GB, free: 241.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)