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.167/2.167, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001501/0.0015, allocations: 175.3 kB / 498.1 MB, free: 5.75 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.424/1.424, allocations: 223.2 MB / 0.7948 GB, free: 18.93 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.0009779/0.0009781, allocations: 106.3 kB / 0.9346 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004489, allocations: 9.438 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2981, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8518/1.15, allocations: 191.5 MB / 1.41 GB, free: 180.1 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/1.15, allocations: 94.52 kB / 1.41 GB, free: 180.1 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.1185/1.269, allocations: 49.97 MB / 1.459 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.865e-06/1.269, allocations: 0 / 1.459 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.918e-05/1.269, allocations: 19.98 kB / 1.459 GB, free: 155.3 MB / 0.9011 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.002446/1.271, allocations: 1.051 MB / 1.46 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.271, allocations: 12.03 kB / 1.46 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002891/1.272, allocations: 126.5 kB / 1.46 GB, free: 154 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00938/1.281, allocations: 1.629 MB / 1.462 GB, free: 152.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/1.283, allocations: 0.6224 MB / 1.462 GB, free: 151.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/1.283, allocations: 41.3 kB / 1.462 GB, free: 151.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/1.283, allocations: 63.97 kB / 1.462 GB, free: 151.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004684/1.288, allocations: 1.922 MB / 1.464 GB, free: 149.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/1.288, allocations: 7.953 kB / 1.464 GB, free: 149.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/1.288, allocations: 27.98 kB / 1.464 GB, free: 149.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002927/1.289, allocations: 149.3 kB / 1.464 GB, free: 149.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00717/1.296, allocations: 2.616 MB / 1.467 GB, free: 146.8 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009489/1.305, allocations: 6.667 MB / 1.473 GB, free: 139.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/1.308, allocations: 1.265 MB / 1.475 GB, free: 138.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/1.31, allocations: 1.48 MB / 1.476 GB, free: 137 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/1.31, allocations: 54.36 kB / 1.476 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=73): time 2.565e-06/1.31, allocations: 0 / 1.476 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=107): time 0.02571/1.336, allocations: 8.04 MB / 1.484 GB, free: 128.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/1.336, allocations: 90.11 kB / 1.484 GB, free: 128.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006403/1.337, allocations: 0.5059 MB / 1.485 GB, free: 128.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/1.337, allocations: 45.7 kB / 1.485 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/1.337, allocations: 403.2 kB / 1.485 GB, free: 127.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/1.337, allocations: 378.5 kB / 1.485 GB, free: 127.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/1.338, allocations: 35.94 kB / 1.485 GB, free: 127.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.338, allocations: 386.8 kB / 1.486 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/1.34, allocations: 1.107 MB / 1.487 GB, free: 125.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002853/1.343, allocations: 1.435 MB / 1.488 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002844/1.346, allocations: 1.218 MB / 1.489 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/1.346, allocations: 8 kB / 1.49 GB, free: 123 MB / 0.9011 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.009643/1.356, allocations: 3.761 MB / 1.493 GB, free: 119.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007518/1.357, allocations: 3.916 MB / 1.497 GB, free: 115 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/1.357, allocations: 8 kB / 1.497 GB, free: 115 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004668/1.361, allocations: 1.267 MB / 1.498 GB, free: 113.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/1.364, allocations: 463.2 kB / 1.499 GB, free: 113.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009396/1.373, allocations: 9.267 MB / 1.508 GB, free: 103.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/1.375, allocations: 312 kB / 1.508 GB, free: 103.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/1.376, allocations: 59.97 kB / 1.508 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.376, allocations: 4.109 kB / 1.508 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008959/1.385, allocations: 3.491 MB / 1.512 GB, free: 99.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/1.385, allocations: 11.94 kB / 1.512 GB, free: 99.71 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003519/1.388, allocations: 1.018 MB / 1.513 GB, free: 98.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/1.39, allocations: 471.2 kB / 1.513 GB, free: 98.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/1.401, allocations: 10.39 MB / 1.523 GB, free: 87.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/1.404, allocations: 307.7 kB / 1.523 GB, free: 86.99 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/1.404, allocations: 68.02 kB / 1.523 GB, free: 86.93 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 () * Number of clocked 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.0008091/1.405, allocations: 388.7 kB / 1.524 GB, free: 86.54 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/1.405, allocations: 86.95 kB / 1.524 GB, free: 86.45 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/1.416, allocations: 3.688 MB / 1.528 GB, free: 82.74 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.416, allocations: 12 kB / 1.528 GB, free: 82.73 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.881e-05/1.416, allocations: 8 kB / 1.528 GB, free: 82.72 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/1.416, allocations: 3.984 kB / 1.528 GB, free: 82.72 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/1.429, allocations: 5.411 MB / 1.533 GB, free: 77.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.429, allocations: 4 kB / 1.533 GB, free: 77.15 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/1.43, allocations: 363.7 kB / 1.533 GB, free: 76.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004134/1.435, allocations: 1.174 MB / 1.534 GB, free: 75.61 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002189/1.435, allocations: 35.97 kB / 1.534 GB, free: 75.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/1.446, allocations: 10.85 MB / 1.545 GB, free: 64.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.446, allocations: 11.94 kB / 1.545 GB, free: 64.19 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00936/1.455, allocations: 3.866 MB / 1.549 GB, free: 60.09 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009046/1.456, allocations: 343.8 kB / 1.549 GB, free: 59.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/1.456, allocations: 24 kB / 1.549 GB, free: 59.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/1.459, allocations: 315.5 kB / 1.549 GB, free: 59.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/1.459, allocations: 104.2 kB / 1.549 GB, free: 59.29 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.459, allocations: 43.98 kB / 1.55 GB, free: 59.25 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005541/1.46, allocations: 402.8 kB / 1.55 GB, free: 58.86 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.3e-07/1.46, allocations: 3.938 kB / 1.55 GB, free: 58.85 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002726/1.462, allocations: 0.6093 MB / 1.551 GB, free: 58.24 MB / 0.9011 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 (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.009933/1.472, allocations: 6.033 MB / 1.556 GB, free: 52.01 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01284/1.485, allocations: 5.424 MB / 1.562 GB, free: 46.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.485, allocations: 1.5 kB / 1.562 GB, free: 46.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004611/1.49, allocations: 2.06 MB / 1.564 GB, free: 44.38 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.491, allocations: 130.9 kB / 1.564 GB, free: 44.25 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02736/1.518, allocations: 17.08 MB / 1.581 GB, free: 26.77 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008709/1.519, allocations: 1.119 MB / 1.582 GB, free: 25.63 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002188/1.522, allocations: 0.5382 MB / 1.582 GB, free: 25.09 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006056/1.522, allocations: 299.3 kB / 1.582 GB, free: 24.79 MB / 0.9011 GB Notification: Performance of SimCode: time 1.322e-06/1.522, allocations: 0 / 1.582 GB, free: 24.79 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05218/1.574, allocations: 32.08 MB / 1.614 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.575, allocations: 231 kB / 1.614 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/4.457, allocations: 4 kB / 1.614 GB, free: 8.832 MB / 0.9167 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