Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001385/0.001385, allocations: 180.6 kB / 487.4 MB, free: 5.066 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.667/1.667, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 99.72 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.292e-05/2.296e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2598, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8845/1.144, allocations: 190.8 MB / 1.392 GB, free: 14.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.145, allocations: 95.38 kB / 1.392 GB, free: 14.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.116/1.261, allocations: 49.48 MB / 1.441 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.926e-06/1.261, allocations: 0 / 1.441 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.795e-05/1.261, allocations: 27.92 kB / 1.441 GB, free: 7.586 MB / 0.8542 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.001897/1.263, allocations: 0.9753 MB / 1.442 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/1.263, allocations: 8.562 kB / 1.442 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/1.273, allocations: 1.629 MB / 1.443 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/1.275, allocations: 0.6272 MB / 1.444 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/1.275, allocations: 20 kB / 1.444 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/1.275, allocations: 36 kB / 1.444 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002134/1.277, allocations: 1.301 MB / 1.445 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/1.279, allocations: 1.341 MB / 1.447 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/1.279, allocations: 3.938 kB / 1.447 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.279, allocations: 7.953 kB / 1.447 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003504/1.279, allocations: 148.3 kB / 1.447 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009591/1.289, allocations: 6.574 MB / 1.453 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/1.291, allocations: 0.8863 MB / 1.454 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006998/1.291, allocations: 0.5533 MB / 1.455 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002062/1.293, allocations: 1.475 MB / 1.456 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/1.293, allocations: 41.12 kB / 1.456 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.445e-06/1.293, allocations: 0 / 1.456 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.01036/1.304, allocations: 4.205 MB / 1.46 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/1.304, allocations: 90.11 kB / 1.46 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/1.304, allocations: 472.2 kB / 1.461 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/1.305, allocations: 25.7 kB / 1.461 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/1.305, allocations: 418.1 kB / 1.461 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000318/1.305, allocations: 350.3 kB / 1.461 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.731e-05/1.305, allocations: 3.938 kB / 1.461 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002122/1.305, allocations: 389.7 kB / 1.462 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/1.306, allocations: 0.7281 MB / 1.463 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/1.308, allocations: 1.05 MB / 1.464 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/1.31, allocations: 0.9819 MB / 1.465 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/1.31, allocations: 8 kB / 1.465 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006757/1.316, allocations: 2.951 MB / 1.467 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001743/1.318, allocations: 3.916 MB / 1.471 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.318, allocations: 12 kB / 1.471 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003666/1.322, allocations: 1.01 MB / 1.472 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/1.324, allocations: 461.6 kB / 1.473 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/1.335, allocations: 8.699 MB / 1.481 GB, free: 3.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.337, allocations: 283.5 kB / 1.481 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/1.337, allocations: 70.47 kB / 1.482 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/1.337, allocations: 5.406 kB / 1.482 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004673/1.342, allocations: 2.279 MB / 1.484 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/1.342, allocations: 8 kB / 1.484 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/1.343, allocations: 0.5501 MB / 1.484 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/1.346, allocations: 487.2 kB / 1.485 GB, free: 0.5273 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009507/1.355, allocations: 8.344 MB / 1.493 GB, free: 7.715 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/1.358, allocations: 279.5 kB / 1.493 GB, free: 7.441 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/1.358, allocations: 59.97 kB / 1.493 GB, free: 7.383 MB / 0.9011 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.0004488/1.358, allocations: 136.6 kB / 1.493 GB, free: 7.242 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006376/1.365, allocations: 2.669 MB / 1.496 GB, free: 4.551 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005958/1.365, allocations: 82.97 kB / 1.496 GB, free: 4.469 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007371/1.373, allocations: 2.931 MB / 1.499 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/1.373, allocations: 12 kB / 1.499 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/1.373, allocations: 4 kB / 1.499 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/1.373, allocations: 15.92 kB / 1.499 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009388/1.382, allocations: 4.568 MB / 1.503 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/1.382, allocations: 4 kB / 1.503 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/1.384, allocations: 359.7 kB / 1.504 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003739/1.388, allocations: 1.092 MB / 1.505 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/1.388, allocations: 23.97 kB / 1.505 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/1.401, allocations: 10.1 MB / 1.515 GB, free: 0.7266 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/1.401, allocations: 11.94 kB / 1.515 GB, free: 0.7148 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006896/1.408, allocations: 3.147 MB / 1.518 GB, free: 13.34 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007495/1.409, allocations: 339.9 kB / 1.518 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/1.409, allocations: 8 kB / 1.518 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.411, allocations: 323.4 kB / 1.518 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/1.412, allocations: 104.2 kB / 1.519 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/1.412, allocations: 47.97 kB / 1.519 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00066/1.412, allocations: 358.9 kB / 1.519 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.51e-07/1.412, allocations: 0.5625 kB / 1.519 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003223/1.416, allocations: 0.5273 MB / 1.519 GB, free: 11.63 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.01043/1.426, allocations: 5.324 MB / 1.525 GB, free: 6.109 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01059/1.437, allocations: 3.982 MB / 1.529 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.437, allocations: 0.5625 kB / 1.529 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003473/1.44, allocations: 1.634 MB / 1.53 GB, free: 400 kB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/1.441, allocations: 127.4 kB / 1.53 GB, free: 272 kB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/1.455, allocations: 2.917 MB / 1.533 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/1.456, allocations: 1.119 MB / 1.534 GB, free: 12.08 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003537/1.46, allocations: 0.5576 MB / 1.535 GB, free: 11.52 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007613/1.461, allocations: 291 kB / 1.535 GB, free: 11.24 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/1.461, allocations: 0 / 1.535 GB, free: 11.24 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06465/1.525, allocations: 30.79 MB / 1.565 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/1.526, allocations: 167.8 kB / 1.565 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/4.511, allocations: 7.969 kB / 1.565 GB, free: 12.39 MB / 0.9792 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat