Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009968/0.0009964, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009467/0.0009467, allocations: 83.06 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.622e-05, allocations: 4 kB / 337.1 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.09885, allocations: 50.42 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3295/0.4283, allocations: 88.44 MB / 476 MB, free: 6.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.4286, allocations: 85.52 kB / 476.1 MB, free: 6.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1343/0.563, allocations: 55.69 MB / 0.5193 GB, free: 14.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5631, allocations: 0 / 0.5193 GB, free: 14.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001222/0.5632, allocations: 51.94 kB / 0.5194 GB, free: 14.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.003607/0.5668, allocations: 1.84 MB / 0.5212 GB, free: 12.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.5669, allocations: 16.02 kB / 0.5212 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007058/0.5676, allocations: 257.3 kB / 0.5214 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.5698, allocations: 1.313 MB / 0.5227 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.5698, allocations: 56 kB / 0.5228 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.57, allocations: 100 kB / 0.5229 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002929/0.573, allocations: 1.76 MB / 0.5246 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/0.5765, allocations: 2.171 MB / 0.5267 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.5765, allocations: 0 / 0.5267 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.5767, allocations: 4 kB / 0.5267 GB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.5768, allocations: 91.58 kB / 0.5268 GB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.5889, allocations: 7.08 MB / 0.5337 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.5903, allocations: 1.221 MB / 0.5349 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005997/0.5909, allocations: 442.7 kB / 0.5353 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/0.5912, allocations: 125.6 kB / 0.5354 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.5913, allocations: 43 kB / 0.5355 GB, free: 12.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 2.975e-06/0.5913, allocations: 0 / 0.5355 GB, free: 12.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.003131/0.5944, allocations: 1.745 MB / 0.5372 GB, free: 11.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.5945, allocations: 81.55 kB / 0.5373 GB, free: 11.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.5959, allocations: 1.108 MB / 0.5383 GB, free: 9.953 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.5959, allocations: 29.7 kB / 0.5384 GB, free: 9.918 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006224/0.5966, allocations: 0.9787 MB / 0.5393 GB, free: 8.922 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.5967, allocations: 193.3 kB / 0.5395 GB, free: 8.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.5968, allocations: 0 / 0.5395 GB, free: 8.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5969, allocations: 353.9 kB / 0.5398 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/0.5974, allocations: 398.4 kB / 0.5402 GB, free: 7.988 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009259/0.5984, allocations: 1.022 MB / 0.5412 GB, free: 6.656 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007983/0.5992, allocations: 0.6212 MB / 0.5418 GB, free: 6.031 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.5992, allocations: 8 kB / 0.5418 GB, free: 6.023 MB / 426.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002159/0.6013, allocations: 1.453 MB / 0.5433 GB, free: 4.562 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.6014, allocations: 12 kB / 0.5433 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.6014, allocations: 27.95 kB / 0.5433 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003824/0.6018, allocations: 136.8 kB / 0.5434 GB, free: 4.387 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008553/0.6027, allocations: 287.5 kB / 0.5437 GB, free: 4.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.6047, allocations: 2.06 MB / 0.5457 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009439/0.6057, allocations: 59.69 kB / 0.5458 GB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/0.6058, allocations: 71.98 kB / 0.5458 GB, free: 1.801 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 144 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001986/0.606, allocations: 160.4 kB / 0.546 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001095/0.6071, allocations: 0.7062 MB / 0.5467 GB, free: 0.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.6073, allocations: 118.5 kB / 0.5468 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.6086, allocations: 0.75 MB / 0.5475 GB, free: 32 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.6086, allocations: 4 kB / 0.5475 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6086, allocations: 3.938 kB / 0.5475 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.6086, allocations: 3.984 kB / 0.5475 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2455/0.8542, allocations: 2.151 MB / 0.5496 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.8542, allocations: 2.656 kB / 0.5496 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.8546, allocations: 102.9 kB / 0.5497 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003881/0.855, allocations: 113.4 kB / 0.5498 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.8551, allocations: 7.219 kB / 0.5498 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.857, allocations: 2.018 MB / 0.5518 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.857, allocations: 2.844 kB / 0.5518 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.8589, allocations: 1.345 MB / 0.5531 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/0.8594, allocations: 265.7 kB / 0.5534 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.8596, allocations: 6.516 kB / 0.5534 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005697/0.8602, allocations: 44.38 kB / 0.5534 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.8603, allocations: 55.38 kB / 0.5535 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.8604, allocations: 22.28 kB / 0.5535 GB, free: 100.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001389/0.8618, allocations: 0.8138 MB / 0.5543 GB, free: 100.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8618, allocations: 0 / 0.5543 GB, free: 100.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001697/0.8635, allocations: 318 kB / 0.5546 GB, free: 100.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002522/0.866, allocations: 2.728 MB / 0.5573 GB, free: 98.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.8678, allocations: 1.033 MB / 0.5583 GB, free: 98.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.8678, allocations: 2.859 kB / 0.5583 GB, free: 98.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007331/0.8686, allocations: 485.1 kB / 0.5587 GB, free: 98.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.8699, allocations: 245.9 kB / 0.559 GB, free: 98.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007558/0.8774, allocations: 2.959 MB / 0.5619 GB, free: 97.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/0.8793, allocations: 1.736 MB / 0.5636 GB, free: 96.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001037/0.8803, allocations: 302.3 kB / 0.5639 GB, free: 96.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007448/0.8811, allocations: 0.6038 MB / 0.5644 GB, free: 96.97 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.8811, allocations: 3.562 kB / 0.5644 GB, free: 96.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05493/0.936, allocations: 25.78 MB / 0.5896 GB, free: 96.11 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.9363, allocations: 162.8 kB / 0.5898 GB, free: 95.92 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.44, allocations: 0 / 0.5898 GB, free: 95.92 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat