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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001646, allocations: 176.4 kB / 8.346 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.374/1.374, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0008021/0.0008021, allocations: 96.83 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.86e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.08675, allocations: 50.42 MB / 387.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3118/0.3986, allocations: 91.99 MB / 479.6 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.3989, allocations: 83.94 kB / 479.6 MB, free: 2.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1836/0.5825, allocations: 73.83 MB / 0.5405 GB, free: 8.262 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5826, allocations: 0 / 0.5405 GB, free: 8.262 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002211/0.5828, allocations: 87.88 kB / 0.5406 GB, free: 8.176 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.007061/0.5899, allocations: 2.904 MB / 0.5434 GB, free: 5.211 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.5899, allocations: 12.03 kB / 0.5434 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.5915, allocations: 391.8 kB / 0.5438 GB, free: 4.812 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004232/0.5957, allocations: 2.174 MB / 0.5459 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-05/0.5958, allocations: 96 kB / 0.546 GB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003879/0.5962, allocations: 168 kB / 0.5462 GB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2499/0.8462, allocations: 2.919 MB / 0.549 GB, free: 89.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01149/0.8577, allocations: 3.609 MB / 0.5525 GB, free: 88.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.8578, allocations: 1.188 kB / 0.5525 GB, free: 88.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008898/0.8588, allocations: 6.797 kB / 0.5525 GB, free: 88.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002252/0.859, allocations: 139.1 kB / 0.5527 GB, free: 88.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.024/0.883, allocations: 10.41 MB / 0.5628 GB, free: 87.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.8858, allocations: 2.542 MB / 0.5653 GB, free: 86.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.888, allocations: 1.336 MB / 0.5666 GB, free: 86.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/0.8884, allocations: 144.4 kB / 0.5668 GB, free: 85.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.8884, allocations: 46.03 kB / 0.5668 GB, free: 85.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 4.669e-06/0.8884, allocations: 1.344 kB / 0.5668 GB, free: 85.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.00836/0.8968, allocations: 4.177 MB / 0.5709 GB, free: 85.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.8969, allocations: 94.52 kB / 0.571 GB, free: 85.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.8991, allocations: 1.424 MB / 0.5724 GB, free: 84.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.8992, allocations: 28.14 kB / 0.5724 GB, free: 84.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006159/0.8998, allocations: 1.324 MB / 0.5737 GB, free: 84.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.9001, allocations: 442 kB / 0.5741 GB, free: 84.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.9002, allocations: 0 / 0.5741 GB, free: 84.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.9003, allocations: 368.6 kB / 0.5745 GB, free: 83.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008675/0.9012, allocations: 0.7554 MB / 0.5752 GB, free: 83.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009858/0.9022, allocations: 1.092 MB / 0.5763 GB, free: 83.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.9033, allocations: 0.9555 MB / 0.5772 GB, free: 83.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.9033, allocations: 3.844 kB / 0.5772 GB, free: 83.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003314/0.9066, allocations: 2.292 MB / 0.5794 GB, free: 83.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.9067, allocations: 10.84 kB / 0.5795 GB, free: 83.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/0.9067, allocations: 11.5 kB / 0.5795 GB, free: 83.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008543/0.9076, allocations: 348 kB / 0.5798 GB, free: 83.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.9088, allocations: 338.2 kB / 0.5801 GB, free: 83.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004002/0.9129, allocations: 3.902 MB / 0.5839 GB, free: 81.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.9144, allocations: 58.55 kB / 0.584 GB, free: 81.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.9146, allocations: 62.59 kB / 0.5841 GB, free: 81.27 MB / 426.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.000262/0.9148, allocations: 138.5 kB / 0.5842 GB, free: 81.16 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002621/0.9174, allocations: 1.852 MB / 0.586 GB, free: 80.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/0.9178, allocations: 171.5 kB / 0.5862 GB, free: 80.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/0.9207, allocations: 1.991 MB / 0.5881 GB, free: 79.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.9207, allocations: 13.94 kB / 0.5881 GB, free: 79.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9207, allocations: 9.594 kB / 0.5881 GB, free: 79.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.9207, allocations: 6.984 kB / 0.5881 GB, free: 79.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00696/0.9277, allocations: 4.625 MB / 0.5926 GB, free: 77.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.9278, allocations: 7.188 kB / 0.5927 GB, free: 77.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009708/0.9287, allocations: 233.3 kB / 0.5929 GB, free: 77.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008549/0.9296, allocations: 332.1 kB / 0.5932 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.372e-05/0.9297, allocations: 15.3 kB / 0.5932 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003913/0.9336, allocations: 3.818 MB / 0.5969 GB, free: 75.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.9337, allocations: 7.406 kB / 0.5969 GB, free: 75.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/0.9377, allocations: 3.116 MB / 0.6 GB, free: 73.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000865/0.9386, allocations: 444 kB / 0.6004 GB, free: 73.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.9389, allocations: 14.89 kB / 0.6004 GB, free: 73.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009891/0.9399, allocations: 81.72 kB / 0.6005 GB, free: 73.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.9401, allocations: 92.8 kB / 0.6006 GB, free: 73.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-05/0.9402, allocations: 37.72 kB / 0.6006 GB, free: 73.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001441/0.9416, allocations: 1.092 MB / 0.6017 GB, free: 73.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.9416, allocations: 3.094 kB / 0.6017 GB, free: 73.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001881/0.9435, allocations: 0.5016 MB / 0.6022 GB, free: 73.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (103): * Single equations (assignments): 98 * 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.004015/0.9475, allocations: 4.122 MB / 0.6062 GB, free: 70.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.9502, allocations: 2.151 MB / 0.6083 GB, free: 69.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.9502, allocations: 3.656 kB / 0.6083 GB, free: 69.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.9516, allocations: 1.238 MB / 0.6095 GB, free: 69.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.9534, allocations: 353.7 kB / 0.6099 GB, free: 69.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008007/0.9614, allocations: 5.412 MB / 0.6151 GB, free: 67.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/0.9631, allocations: 2.48 MB / 0.6176 GB, free: 66.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001218/0.9643, allocations: 458.2 kB / 0.618 GB, free: 66.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.9654, allocations: 1.031 MB / 0.619 GB, free: 65.38 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.9654, allocations: 0 / 0.619 GB, free: 65.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06719/1.033, allocations: 42.14 MB / 0.6602 GB, free: 40.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/1.033, allocations: 160.2 kB / 0.6603 GB, free: 40.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/4.153, allocations: 1.219 kB / 0.6603 GB, free: 40.21 MB / 426.7 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