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.001057/0.001057, allocations: 197.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 227.2 MB / 245 MB, free: 5.789 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008962/0.0008961, allocations: 107.4 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002811, allocations: 4 kB / 358 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2029, allocations: 51.49 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1045/0.3074, allocations: 90 MB / 499.5 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.3077, allocations: 83.95 kB / 499.6 MB, free: 500 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.281/0.5887, allocations: 56.21 MB / 0.5428 GB, free: 67.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5887, allocations: 0 / 0.5428 GB, free: 67.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001042/0.5888, allocations: 51.94 kB / 0.5428 GB, free: 67.55 MB / 378.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.003168/0.592, allocations: 2.037 MB / 0.5448 GB, free: 65.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.592, allocations: 11.97 kB / 0.5448 GB, free: 65.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002829/0.5923, allocations: 281.9 kB / 0.5451 GB, free: 65.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007572/0.5931, allocations: 289.3 kB / 0.5454 GB, free: 64.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.5951, allocations: 1.317 MB / 0.5467 GB, free: 63.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/0.5951, allocations: 131.5 kB / 0.5468 GB, free: 63.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.5954, allocations: 172 kB / 0.5469 GB, free: 63.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.5983, allocations: 2.471 MB / 0.5494 GB, free: 60.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.5983, allocations: 0 / 0.5494 GB, free: 60.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.5985, allocations: 75.98 kB / 0.5494 GB, free: 60.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-05/0.5986, allocations: 99.58 kB / 0.5495 GB, free: 60.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/0.6011, allocations: 1.947 MB / 0.5514 GB, free: 58.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008729/0.6098, allocations: 7.458 MB / 0.5587 GB, free: 50.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.611, allocations: 1.275 MB / 0.56 GB, free: 49.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.6113, allocations: 121.5 kB / 0.5601 GB, free: 49.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.6113, allocations: 39 kB / 0.5601 GB, free: 49.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 3.376e-06/0.6113, allocations: 0 / 0.5601 GB, free: 49.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.003465/0.6148, allocations: 2.289 MB / 0.5623 GB, free: 46.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.6149, allocations: 81.55 kB / 0.5624 GB, free: 46.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.6163, allocations: 1.357 MB / 0.5637 GB, free: 45.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.6163, allocations: 37.7 kB / 0.5638 GB, free: 45.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/0.6167, allocations: 0.9674 MB / 0.5647 GB, free: 44.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.31e-05/0.6168, allocations: 197.3 kB / 0.5649 GB, free: 44.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.6169, allocations: 27.94 kB / 0.5649 GB, free: 44.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.617, allocations: 357.9 kB / 0.5653 GB, free: 43.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.6175, allocations: 454.3 kB / 0.5657 GB, free: 43.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/0.6182, allocations: 1.078 MB / 0.5668 GB, free: 41.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006879/0.6189, allocations: 0.6797 MB / 0.5674 GB, free: 41.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.6189, allocations: 4 kB / 0.5674 GB, free: 41.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.00207/0.621, allocations: 1.679 MB / 0.5691 GB, free: 39.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.621, allocations: 15.94 kB / 0.5691 GB, free: 39.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.621, allocations: 24 kB / 0.5691 GB, free: 39.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/0.6214, allocations: 140.8 kB / 0.5692 GB, free: 39.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/0.6222, allocations: 291.5 kB / 0.5695 GB, free: 39.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.6238, allocations: 2.183 MB / 0.5717 GB, free: 36.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008594/0.6247, allocations: 91.58 kB / 0.5717 GB, free: 36.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.6248, allocations: 68 kB / 0.5718 GB, free: 36.68 MB / 378.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 () * Number of clocked 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.0008031/0.6256, allocations: 0.7117 MB / 0.5725 GB, free: 35.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.6257, allocations: 130.5 kB / 0.5726 GB, free: 35.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.6269, allocations: 0.8492 MB / 0.5735 GB, free: 34.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6269, allocations: 8 kB / 0.5735 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6269, allocations: 3.984 kB / 0.5735 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6269, allocations: 0 / 0.5735 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.6299, allocations: 2.53 MB / 0.5759 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6299, allocations: 4 kB / 0.5759 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.6303, allocations: 99.88 kB / 0.576 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.6306, allocations: 113 kB / 0.5761 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.6306, allocations: 19.98 kB / 0.5762 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.6321, allocations: 2.127 MB / 0.5782 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6321, allocations: 8.062 kB / 0.5783 GB, free: 29.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.6335, allocations: 1.485 MB / 0.5797 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/0.6339, allocations: 283.4 kB / 0.58 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.6341, allocations: 19.94 kB / 0.58 GB, free: 27.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/0.6347, allocations: 56.03 kB / 0.58 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.239e-05/0.6348, allocations: 55.83 kB / 0.5801 GB, free: 27.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.6348, allocations: 20.19 kB / 0.5801 GB, free: 27.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001068/0.6359, allocations: 1.028 MB / 0.5811 GB, free: 26.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6359, allocations: 3.938 kB / 0.5811 GB, free: 26.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001195/0.6371, allocations: 367.9 kB / 0.5815 GB, free: 26.4 MB / 378.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 () * Number of clocked 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.001873/0.639, allocations: 2.862 MB / 0.5843 GB, free: 23.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.6405, allocations: 1.17 MB / 0.5854 GB, free: 22.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.6405, allocations: 0 / 0.5854 GB, free: 22.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006216/0.6411, allocations: 0.5149 MB / 0.5859 GB, free: 21.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.6423, allocations: 358.2 kB / 0.5863 GB, free: 21.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.658, allocations: 25.03 MB / 0.6107 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.6595, allocations: 1.741 MB / 0.6124 GB, free: 9.766 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001031/0.6606, allocations: 331.3 kB / 0.6127 GB, free: 9.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000797/0.6614, allocations: 0.6125 MB / 0.6133 GB, free: 8.824 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6614, allocations: 0 / 0.6133 GB, free: 8.824 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05186/0.7133, allocations: 32.33 MB / 0.6449 GB, free: 8.859 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.7135, allocations: 217.1 kB / 0.6451 GB, free: 8.621 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/3.279, allocations: 0 / 0.6451 GB, free: 8.621 MB / 426.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