Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.337/2.337, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009755/0.0009756, allocations: 176.3 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009736/0.000974, allocations: 89.78 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.206e-05, allocations: 5.062 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3031, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.569, allocations: 191.6 MB / 1.4 GB, free: 8.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.57, allocations: 91.06 kB / 1.4 GB, free: 8.879 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1501/1.72, allocations: 49.48 MB / 1.448 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/1.72, allocations: 0 / 1.448 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.825e-05/1.72, allocations: 27.98 kB / 1.448 GB, free: 15.07 MB / 0.8698 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.003722/1.724, allocations: 0.9702 MB / 1.449 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.724, allocations: 12.03 kB / 1.449 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/1.74, allocations: 1.621 MB / 1.45 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/1.742, allocations: 0.6266 MB / 1.451 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/1.742, allocations: 24 kB / 1.451 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/1.743, allocations: 35.91 kB / 1.451 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003578/1.746, allocations: 1.306 MB / 1.452 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/1.749, allocations: 1.342 MB / 1.454 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/1.75, allocations: 3.938 kB / 1.454 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/1.75, allocations: 4 kB / 1.454 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005762/1.75, allocations: 151.8 kB / 1.454 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/1.766, allocations: 6.57 MB / 1.46 GB, free: 3.742 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/1.768, allocations: 0.892 MB / 1.461 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/1.77, allocations: 0.5508 MB / 1.462 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003298/1.773, allocations: 1.481 MB / 1.463 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/1.773, allocations: 42.31 kB / 1.463 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 4.098e-06/1.773, allocations: 0 / 1.463 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.01556/1.789, allocations: 4.201 MB / 1.467 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/1.789, allocations: 90.09 kB / 1.467 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000944/1.79, allocations: 473 kB / 1.468 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000266/1.79, allocations: 29.7 kB / 1.468 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/1.79, allocations: 414.6 kB / 1.468 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004697/1.791, allocations: 353.7 kB / 1.469 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/1.791, allocations: 0 / 1.469 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002566/1.791, allocations: 385.1 kB / 1.469 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/1.793, allocations: 0.7354 MB / 1.47 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/1.795, allocations: 1.044 MB / 1.471 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/1.797, allocations: 0.9925 MB / 1.472 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/1.797, allocations: 0 / 1.472 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.009518/1.807, allocations: 2.946 MB / 1.475 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002077/1.809, allocations: 3.923 MB / 1.478 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/1.809, allocations: 15.94 kB / 1.478 GB, free: 4.117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005084/1.814, allocations: 1.013 MB / 1.479 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003171/1.817, allocations: 455.1 kB / 1.48 GB, free: 2.809 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/1.833, allocations: 8.693 MB / 1.488 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/1.836, allocations: 287.5 kB / 1.489 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004543/1.837, allocations: 63.03 kB / 1.489 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.837, allocations: 9.203 kB / 1.489 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007577/1.845, allocations: 2.278 MB / 1.491 GB, free: 9.023 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.977e-05/1.845, allocations: 12 kB / 1.491 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/1.847, allocations: 0.5579 MB / 1.491 GB, free: 8.441 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/1.85, allocations: 475.2 kB / 1.492 GB, free: 7.977 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/1.863, allocations: 8.345 MB / 1.5 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003371/1.867, allocations: 275.5 kB / 1.5 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005451/1.867, allocations: 59.97 kB / 1.5 GB, free: 14.84 MB / 0.9167 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.0008634/1.868, allocations: 140.6 kB / 1.501 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00955/1.878, allocations: 2.665 MB / 1.503 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004695/1.878, allocations: 86.97 kB / 1.503 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.889, allocations: 2.927 MB / 1.506 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-05/1.889, allocations: 12 kB / 1.506 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.368e-05/1.889, allocations: 8 kB / 1.506 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.583e-05/1.889, allocations: 3.984 kB / 1.506 GB, free: 8.945 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/1.904, allocations: 4.588 MB / 1.511 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/1.904, allocations: 4 kB / 1.511 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/1.907, allocations: 359.9 kB / 1.511 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005763/1.912, allocations: 1.096 MB / 1.512 GB, free: 2.754 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003309/1.913, allocations: 23.92 kB / 1.512 GB, free: 2.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01972/1.933, allocations: 10.11 MB / 1.522 GB, free: 8.164 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.845e-05/1.933, allocations: 11.94 kB / 1.522 GB, free: 8.152 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/1.943, allocations: 3.143 MB / 1.525 GB, free: 4.77 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.944, allocations: 339.9 kB / 1.525 GB, free: 4.418 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000475/1.945, allocations: 8 kB / 1.525 GB, free: 4.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003515/1.948, allocations: 319.5 kB / 1.526 GB, free: 4.098 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004624/1.949, allocations: 104.2 kB / 1.526 GB, free: 3.996 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/1.949, allocations: 47.91 kB / 1.526 GB, free: 3.949 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000859/1.95, allocations: 358.9 kB / 1.526 GB, free: 3.598 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.51e-07/1.95, allocations: 0.5625 kB / 1.526 GB, free: 3.598 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004072/1.954, allocations: 0.5234 MB / 1.527 GB, free: 3.074 MB / 0.9323 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.01127/1.965, allocations: 5.332 MB / 1.532 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.977, allocations: 3.982 MB / 1.536 GB, free: 9.508 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/1.977, allocations: 256 / 1.536 GB, free: 9.508 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004893/1.982, allocations: 1.63 MB / 1.537 GB, free: 7.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/1.984, allocations: 121.9 kB / 1.537 GB, free: 7.715 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/1.999, allocations: 2.917 MB / 1.54 GB, free: 4.684 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/2, allocations: 1.119 MB / 1.541 GB, free: 3.539 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003976/2.004, allocations: 0.5615 MB / 1.542 GB, free: 2.973 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008753/2.005, allocations: 287.3 kB / 1.542 GB, free: 2.691 MB / 0.948 GB Notification: Performance of SimCode: time 1.333e-06/2.005, allocations: 0 / 1.542 GB, free: 2.691 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09403/2.099, allocations: 30.78 MB / 1.572 GB, free: 4.051 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/2.1, allocations: 163.6 kB / 1.572 GB, free: 3.863 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/4.932, allocations: 0 / 1.572 GB, free: 3.863 MB / 0.9792 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat