Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001735/0.001735, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009679/0.0009678, allocations: 95.06 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.501e-05, allocations: 7.984 kB / 350.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 51.47 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.514, allocations: 89.93 MB / 492.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.5143, allocations: 88.72 kB / 492.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1452/0.6596, allocations: 56.36 MB / 0.5356 GB, free: 8.578 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.6597, allocations: 0 / 0.5356 GB, free: 8.578 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002303/0.6599, allocations: 51.94 kB / 0.5357 GB, free: 8.527 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.005284/0.6652, allocations: 1.851 MB / 0.5375 GB, free: 6.629 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.6653, allocations: 8.031 kB / 0.5375 GB, free: 6.621 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007095/0.666, allocations: 270 kB / 0.5378 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.6672, allocations: 289.3 kB / 0.538 GB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.6699, allocations: 1.317 MB / 0.5393 GB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.67, allocations: 135.5 kB / 0.5395 GB, free: 4.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/0.6704, allocations: 183.9 kB / 0.5396 GB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004287/0.6747, allocations: 2.417 MB / 0.542 GB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.6747, allocations: 4 kB / 0.542 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.6749, allocations: 79.98 kB / 0.5421 GB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-05/0.675, allocations: 95.58 kB / 0.5422 GB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.6782, allocations: 1.869 MB / 0.544 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.6912, allocations: 7.465 MB / 0.5513 GB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.6929, allocations: 1.245 MB / 0.5525 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/0.6936, allocations: 463.4 kB / 0.5529 GB, free: 6.309 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.694, allocations: 133.5 kB / 0.5531 GB, free: 6.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.694, allocations: 39 kB / 0.5531 GB, free: 6.113 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 2.665e-06/0.694, allocations: 0 / 0.5531 GB, free: 6.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.003854/0.6979, allocations: 1.839 MB / 0.5549 GB, free: 4.211 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.698, allocations: 85.55 kB / 0.555 GB, free: 4.109 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.7005, allocations: 1.34 MB / 0.5563 GB, free: 2.762 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.7006, allocations: 37.69 kB / 0.5563 GB, free: 2.719 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000811/0.7014, allocations: 0.9751 MB / 0.5573 GB, free: 1.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.7016, allocations: 197.4 kB / 0.5575 GB, free: 1.535 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.7017, allocations: 24 kB / 0.5575 GB, free: 1.512 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.7019, allocations: 353.9 kB / 0.5578 GB, free: 1.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006302/0.7025, allocations: 426.4 kB / 0.5582 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.7036, allocations: 1.051 MB / 0.5593 GB, free: 15.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009413/0.7045, allocations: 0.6533 MB / 0.5599 GB, free: 14.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.7045, allocations: 8 kB / 0.5599 GB, free: 14.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002757/0.7073, allocations: 1.62 MB / 0.5615 GB, free: 13.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.7073, allocations: 12 kB / 0.5615 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.322e-05/0.7074, allocations: 24 kB / 0.5615 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.7079, allocations: 141 kB / 0.5617 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008952/0.7088, allocations: 295.4 kB / 0.5619 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.711, allocations: 2.139 MB / 0.564 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.7122, allocations: 91.67 kB / 0.5641 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.7123, allocations: 72 kB / 0.5642 GB, free: 10.2 MB / 442.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.0002024/0.7125, allocations: 184.4 kB / 0.5644 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.7128, allocations: 142.3 kB / 0.5645 GB, free: 9.867 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.7143, allocations: 0.7982 MB / 0.5653 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.7143, allocations: 7.953 kB / 0.5653 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7143, allocations: 4 kB / 0.5653 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.7143, allocations: 3.984 kB / 0.5653 GB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004556/0.7189, allocations: 2.479 MB / 0.5677 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.7189, allocations: 4 kB / 0.5677 GB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.7193, allocations: 95.88 kB / 0.5678 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003479/0.7197, allocations: 117.2 kB / 0.5679 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.7197, allocations: 16 kB / 0.5679 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.7218, allocations: 2.096 MB / 0.57 GB, free: 4.008 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.7218, allocations: 4 kB / 0.57 GB, free: 4.004 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.7237, allocations: 1.407 MB / 0.5714 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006478/0.7243, allocations: 291.6 kB / 0.5716 GB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.7246, allocations: 16 kB / 0.5717 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/0.7254, allocations: 47.97 kB / 0.5717 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.7255, allocations: 55.83 kB / 0.5717 GB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.7255, allocations: 23.98 kB / 0.5718 GB, free: 2.043 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001778/0.7273, allocations: 1.011 MB / 0.5728 GB, free: 1.027 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7273, allocations: 0 / 0.5728 GB, free: 1.027 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001712/0.7291, allocations: 364 kB / 0.5731 GB, free: 0.6719 MB / 442.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.2679/0.997, allocations: 2.781 MB / 0.5758 GB, free: 87.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.9989, allocations: 1.114 MB / 0.5769 GB, free: 86.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.9989, allocations: 3.781 kB / 0.5769 GB, free: 86.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007127/0.9997, allocations: 0.4923 MB / 0.5774 GB, free: 86.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/1.001, allocations: 358.4 kB / 0.5777 GB, free: 86.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006332/1.008, allocations: 3.06 MB / 0.5807 GB, free: 86.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/1.009, allocations: 1.735 MB / 0.5824 GB, free: 85.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001011/1.01, allocations: 330.4 kB / 0.5827 GB, free: 85.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009079/1.011, allocations: 0.6086 MB / 0.5833 GB, free: 85.36 MB / 442.7 MB Notification: Performance of SimCode: time 2.275e-06/1.011, allocations: 0 / 0.5833 GB, free: 85.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06199/1.073, allocations: 32.3 MB / 0.6149 GB, free: 84.27 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/1.073, allocations: 195.6 kB / 0.6151 GB, free: 84.05 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.872/3.945, allocations: 0 / 0.6151 GB, free: 84.05 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat