Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, 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.556/1.556, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009301/0.0009301, allocations: 82.2 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.298e-05/3.321e-05, allocations: 4 kB / 350.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.0933, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3223/0.4157, allocations: 93.47 MB / 495.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.416, allocations: 88.34 kB / 495.7 MB, free: 12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1867/0.6027, allocations: 74.65 MB / 0.557 GB, free: 2.629 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.6027, allocations: 0 / 0.557 GB, free: 2.629 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002959/0.603, allocations: 83.88 kB / 0.557 GB, free: 2.547 MB / 426.7 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.007861/0.6109, allocations: 2.916 MB / 0.5599 GB, free: 15.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.611, allocations: 12.03 kB / 0.5599 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001248/0.6122, allocations: 425.6 kB / 0.5603 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.6144, allocations: 447.7 kB / 0.5607 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005782/0.6202, allocations: 2.174 MB / 0.5629 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.6205, allocations: 217.8 kB / 0.5631 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/0.6217, allocations: 284 kB / 0.5633 GB, free: 11.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.632, allocations: 4.04 MB / 0.5673 GB, free: 7.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.766e-05/0.6321, allocations: 0 / 0.5673 GB, free: 7.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005268/0.6326, allocations: 132 kB / 0.5674 GB, free: 7.641 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.6328, allocations: 133.9 kB / 0.5675 GB, free: 7.508 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006197/0.639, allocations: 3.096 MB / 0.5706 GB, free: 4.402 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2541/0.8931, allocations: 11 MB / 0.5813 GB, free: 71.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.8952, allocations: 2.592 MB / 0.5838 GB, free: 70.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001965/0.8972, allocations: 1.446 MB / 0.5852 GB, free: 70.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/0.8975, allocations: 140.2 kB / 0.5854 GB, free: 70.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.8976, allocations: 54.19 kB / 0.5854 GB, free: 70.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 3.437e-06/0.8976, allocations: 0 / 0.5854 GB, free: 70.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.007037/0.9046, allocations: 4.367 MB / 0.5897 GB, free: 69.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.9047, allocations: 95.06 kB / 0.5898 GB, free: 69.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.9069, allocations: 1.699 MB / 0.5914 GB, free: 69.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.9071, allocations: 49.77 kB / 0.5915 GB, free: 69.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006401/0.9077, allocations: 1.319 MB / 0.5928 GB, free: 68.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.908, allocations: 460.2 kB / 0.5932 GB, free: 68.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.9081, allocations: 28.62 kB / 0.5932 GB, free: 68.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.9082, allocations: 363.6 kB / 0.5936 GB, free: 68.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009712/0.9092, allocations: 0.7751 MB / 0.5944 GB, free: 68.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.9103, allocations: 1.133 MB / 0.5955 GB, free: 67.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.9114, allocations: 0.9787 MB / 0.5964 GB, free: 67.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.9114, allocations: 3.438 kB / 0.5964 GB, free: 67.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003467/0.9149, allocations: 2.443 MB / 0.5988 GB, free: 67.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.9149, allocations: 9.344 kB / 0.5988 GB, free: 67.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/0.915, allocations: 12.56 kB / 0.5988 GB, free: 67.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000865/0.9158, allocations: 362.6 kB / 0.5992 GB, free: 67.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.9171, allocations: 332.4 kB / 0.5995 GB, free: 67.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004186/0.9213, allocations: 4.041 MB / 0.6034 GB, free: 66.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.9231, allocations: 85.38 kB / 0.6035 GB, free: 66.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/0.9233, allocations: 62.89 kB / 0.6036 GB, free: 66.17 MB / 442.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003058/0.9237, allocations: 192 kB / 0.6038 GB, free: 66.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004517/0.9241, allocations: 187.7 kB / 0.6039 GB, free: 65.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/0.9275, allocations: 2.11 MB / 0.606 GB, free: 65.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.9275, allocations: 12.78 kB / 0.606 GB, free: 65.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.9275, allocations: 5.156 kB / 0.606 GB, free: 65.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.9276, allocations: 10.38 kB / 0.606 GB, free: 65.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.9381, allocations: 5.153 MB / 0.6111 GB, free: 65.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.023e-05/0.9382, allocations: 9.125 kB / 0.6111 GB, free: 65.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.9393, allocations: 231.5 kB / 0.6113 GB, free: 65.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.9404, allocations: 336.5 kB / 0.6116 GB, free: 65.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.9405, allocations: 34.27 kB / 0.6116 GB, free: 65.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004953/0.9454, allocations: 3.946 MB / 0.6155 GB, free: 63.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.9455, allocations: 8.125 kB / 0.6155 GB, free: 63.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005003/0.9505, allocations: 3.277 MB / 0.6187 GB, free: 63.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.9519, allocations: 465.5 kB / 0.6191 GB, free: 63.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/0.9522, allocations: 30.44 kB / 0.6192 GB, free: 63.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.9533, allocations: 102.6 kB / 0.6193 GB, free: 63.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.9536, allocations: 101.5 kB / 0.6194 GB, free: 63.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.9537, allocations: 44.53 kB / 0.6194 GB, free: 63.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002186/0.9559, allocations: 1.311 MB / 0.6207 GB, free: 63.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.9559, allocations: 0 / 0.6207 GB, free: 63.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002398/0.9583, allocations: 0.5726 MB / 0.6212 GB, free: 63.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00501/0.9633, allocations: 4.415 MB / 0.6256 GB, free: 60.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003635/0.967, allocations: 2.226 MB / 0.6277 GB, free: 59.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.967, allocations: 4.562 kB / 0.6277 GB, free: 59.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.9692, allocations: 1.295 MB / 0.629 GB, free: 59.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.9719, allocations: 486.5 kB / 0.6295 GB, free: 59.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.9846, allocations: 5.555 MB / 0.6349 GB, free: 56.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/0.9868, allocations: 2.477 MB / 0.6373 GB, free: 55.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001718/0.9886, allocations: 489.8 kB / 0.6378 GB, free: 55.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/0.9898, allocations: 1.062 MB / 0.6388 GB, free: 55.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/0.9898, allocations: 0 / 0.6388 GB, free: 55.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07082/1.061, allocations: 49.73 MB / 0.6874 GB, free: 45.18 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/1.061, allocations: 198.7 kB / 0.6876 GB, free: 44.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.224/4.285, allocations: 7.375 kB / 0.6876 GB, free: 44.95 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat