Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 196.8 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.501/1.501, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009144/0.0009144, allocations: 99.31 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.994e-05, allocations: 4 kB / 350.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3547/0.467, allocations: 79.05 MB / 481.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.4673, allocations: 77.36 kB / 481.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01465/0.482, allocations: 5.997 MB / 487.2 MB, free: 5.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.482, allocations: 4 kB / 487.2 MB, free: 5.383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.4821, allocations: 8 kB / 487.2 MB, free: 5.375 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0007838/0.4829, allocations: 0.6069 MB / 487.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4829, allocations: 8.031 kB / 487.9 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.64e-05/0.483, allocations: 76.28 kB / 487.9 MB, free: 4.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.4832, allocations: 60.38 kB / 488 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.4835, allocations: 281.2 kB / 488.3 MB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.4836, allocations: 34 kB / 488.3 MB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.4836, allocations: 49.86 kB / 488.4 MB, free: 4.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.4842, allocations: 427.2 kB / 488.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.4842, allocations: 7.938 kB / 488.8 MB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.4843, allocations: 16.62 kB / 488.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.4843, allocations: 8.688 kB / 488.8 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.4847, allocations: 266.5 kB / 489.1 MB, free: 3.781 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.4863, allocations: 1.325 MB / 490.4 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.4867, allocations: 228 kB / 490.6 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.487, allocations: 192.2 kB / 490.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.487, allocations: 7.938 kB / 490.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.487, allocations: 38.52 kB / 490.8 MB, free: 2.258 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.034e-06/0.487, allocations: 0 / 490.8 MB, free: 2.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005596/0.4876, allocations: 279.6 kB / 491.1 MB, free: 1.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.4877, allocations: 235.3 kB / 491.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.4878, allocations: 182.5 kB / 491.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4878, allocations: 33.64 kB / 491.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.4879, allocations: 204.2 kB / 491.8 MB, free: 1.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.488, allocations: 102.5 kB / 491.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.488, allocations: 8 kB / 491.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.4881, allocations: 326.8 kB / 492.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.4882, allocations: 72.55 kB / 492.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.4883, allocations: 144.6 kB / 492.4 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.4885, allocations: 95.59 kB / 492.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4885, allocations: 0 / 492.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003184/0.4888, allocations: 258.9 kB / 492.7 MB, free: 248 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4888, allocations: 9.5 kB / 492.8 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4888, allocations: 5.875 kB / 492.8 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4889, allocations: 0 / 492.8 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.4892, allocations: 79.89 kB / 492.8 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.4892, allocations: 4 kB / 492.8 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.4893, allocations: 31.69 kB / 492.9 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.4894, allocations: 8 kB / 492.9 MB, free: 112 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.4895, allocations: 133.8 kB / 493 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.4895, allocations: 27.67 kB / 493 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.179e-05/0.4896, allocations: 30.78 kB / 493.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.4896, allocations: 4 kB / 493.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.4897, allocations: 0 / 493.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.4897, allocations: 3.984 kB / 493.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.4907, allocations: 0.7682 MB / 493.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4908, allocations: 0 / 493.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.491, allocations: 55.94 kB / 493.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/0.4913, allocations: 90.78 kB / 494 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.4914, allocations: 10.98 kB / 494 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.4932, allocations: 1.819 MB / 495.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4932, allocations: 112 / 495.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006991/0.4939, allocations: 0.4966 MB / 496.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.494, allocations: 104.8 kB / 496.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.494, allocations: 8.062 kB / 496.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.4942, allocations: 12 kB / 496.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.4943, allocations: 23.92 kB / 496.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.4943, allocations: 12 kB / 496.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.4945, allocations: 148.4 kB / 496.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4945, allocations: 4 kB / 496.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.4949, allocations: 115.6 kB / 496.7 MB, free: 12.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/0.4959, allocations: 1.121 MB / 497.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.4963, allocations: 192 kB / 498 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4963, allocations: 0 / 498 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.4967, allocations: 261.9 kB / 498.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.4969, allocations: 28.67 kB / 498.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.4982, allocations: 0.7725 MB / 499.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.4987, allocations: 0.7911 MB / 499.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.4988, allocations: 30.05 kB / 499.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.499, allocations: 99.41 kB / 0.4883 GB, free: 8.641 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.499, allocations: 4 kB / 0.4883 GB, free: 8.637 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.5173, allocations: 5.299 MB / 0.4935 GB, free: 3.574 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.5176, allocations: 182.3 kB / 0.4936 GB, free: 3.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.491, allocations: 0 / 0.4936 GB, free: 3.344 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat