Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",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.000954/0.0009542, allocations: 92.53 kB / 16.3 MB, free: 5.539 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.000997/0.0009971, allocations: 185.1 kB / 17.2 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 241.1 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002376/0.0002376, allocations: 4 kB / 300.8 MB, free: 6.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 50.42 MB / 351.2 MB, free: 3.957 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007312/0.1146, allocations: 6.34 MB / 357.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005158/0.1198, allocations: 2.569 MB / 360.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.1212, allocations: 59.62 kB / 360.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.1224, allocations: 473.6 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.124, allocations: 0.5919 MB / 361.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006886/0.1247, allocations: 267.6 kB / 361.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002794/0.1276, allocations: 2.086 MB / 363.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002924/0.1305, allocations: 2.511 MB / 366.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.1321, allocations: 1.106 MB / 367.2 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.1339, allocations: 1.416 MB / 368.6 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003023/0.1342, allocations: 188 kB / 368.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007787/0.135, allocations: 355.7 kB / 369.2 MB, free: 1.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008407/0.1359, allocations: 0.8686 MB / 370 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.1365, allocations: 0.6563 MB / 370.7 MB, free: 400 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1967/0.3332, allocations: 4.95 MB / 375.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3333, allocations: 2.406 kB / 375.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3333, allocations: 0.8125 kB / 375.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002772/0.3336, allocations: 0 / 375.6 MB, free: 12.9 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.009569/0.3432, allocations: 3.212 MB / 378.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3432, allocations: 8.594 kB / 378.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001707/0.3449, allocations: 427.9 kB / 379.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.3466, allocations: 392.7 kB / 379.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004898/0.3515, allocations: 2.029 MB / 381.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.3517, allocations: 223.5 kB / 381.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007647/0.3525, allocations: 283.9 kB / 382.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009585/0.3621, allocations: 4.149 MB / 386.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.516e-05/0.3622, allocations: 0.875 kB / 386.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003648/0.3626, allocations: 119.9 kB / 386.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002048/0.3628, allocations: 146.9 kB / 386.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007429/0.3702, allocations: 3.475 MB / 390.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02045/0.3907, allocations: 10.98 MB / 401.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.3931, allocations: 2.64 MB / 403.7 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/0.3934, allocations: 123.1 kB / 403.8 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3934, allocations: 51.56 kB / 403.9 MB, free: 15.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.597e-06/0.3934, allocations: 0 / 403.9 MB, free: 15.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01046/0.4039, allocations: 5.679 MB / 409.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.404, allocations: 90.42 kB / 409.6 MB, free: 9.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/0.4071, allocations: 1.898 MB / 411.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.4073, allocations: 45.7 kB / 411.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.4084, allocations: 1.322 MB / 412.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004316/0.4088, allocations: 452.7 kB / 413.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.4089, allocations: 28.62 kB / 413.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4091, allocations: 377.3 kB / 413.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.4104, allocations: 0.8237 MB / 414.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.4119, allocations: 1.19 MB / 415.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.4133, allocations: 1.025 MB / 416.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4134, allocations: 4 kB / 416.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004231/0.4176, allocations: 2.571 MB / 419.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.4176, allocations: 8 kB / 419.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.4177, allocations: 12 kB / 419.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/0.4196, allocations: 0.4906 MB / 419.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.4209, allocations: 327.4 kB / 420.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/0.4262, allocations: 4.376 MB / 424.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.4279, allocations: 83.92 kB / 424.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.4281, allocations: 59.98 kB / 424.7 MB, free: 10.22 MB / 334.1 MB 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 (154): * Single equations (assignments): 149 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002976/0.4311, allocations: 1.046 MB / 425.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006832/0.4318, allocations: 197.7 kB / 425.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/0.4357, allocations: 2.189 MB / 428.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-05/0.4357, allocations: 23.98 kB / 428.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.4357, allocations: 4 kB / 428.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.4358, allocations: 3.984 kB / 428.2 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.4475, allocations: 5.148 MB / 433.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.4475, allocations: 7.984 kB / 433.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.4486, allocations: 218.7 kB / 433.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/0.4506, allocations: 481.2 kB / 434 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.4507, allocations: 32.92 kB / 434 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005556/0.4563, allocations: 4.302 MB / 438.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.4563, allocations: 3.984 kB / 438.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006117/0.4624, allocations: 3.313 MB / 441.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/0.4643, allocations: 462.7 kB / 442.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/0.4648, allocations: 28.61 kB / 442.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.466, allocations: 104.7 kB / 442.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/0.4662, allocations: 100.8 kB / 442.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.4664, allocations: 36.61 kB / 442.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002475/0.4689, allocations: 1.323 MB / 443.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4689, allocations: 0 / 443.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002415/0.4713, allocations: 0.5517 MB / 444.2 MB, free: 6.531 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (98): * Single equations (assignments): 93 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005555/0.4769, allocations: 4.082 MB / 448.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003699/0.4806, allocations: 2.229 MB / 450.6 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.4806, allocations: 0 / 450.6 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.4826, allocations: 1.224 MB / 451.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.4853, allocations: 471.8 kB / 452.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04099/0.5264, allocations: 23.5 MB / 475.7 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/0.529, allocations: 2.486 MB / 478.2 MB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002176/0.5312, allocations: 487.4 kB / 478.7 MB, free: 3.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/0.5328, allocations: 1.06 MB / 479.8 MB, free: 2.184 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.5329, allocations: 0 / 479.8 MB, free: 2.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09424/0.6271, allocations: 48.36 MB / 0.5157 GB, free: 2.379 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003596/0.6275, allocations: 264.8 kB / 0.516 GB, free: 2.027 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.938/3.566, allocations: 0 / 0.516 GB, free: 2.027 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat