Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",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.001145/0.001145, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 221.3 MB / 235.5 MB, free: 2.945 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.0009735/0.0009737, allocations: 82.3 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.867e-05, allocations: 4 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09814, allocations: 50.41 MB / 394.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3018/0.4, allocations: 78.24 MB / 472.6 MB, free: 9.238 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4003, allocations: 67.97 kB / 472.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.416, allocations: 5.865 MB / 478.5 MB, free: 3.309 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.416, allocations: 0 / 478.5 MB, free: 3.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.416, allocations: 8 kB / 478.5 MB, free: 3.301 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.000831/0.4169, allocations: 0.5929 MB / 479.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4169, allocations: 8.031 kB / 479.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.015e-05/0.417, allocations: 78.53 kB / 479.2 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.896e-05/0.4171, allocations: 39.53 kB / 479.2 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.4174, allocations: 283.1 kB / 479.5 MB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.4174, allocations: 29 kB / 479.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.4175, allocations: 47.95 kB / 479.6 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006793/0.4182, allocations: 435.3 kB / 480 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4182, allocations: 0 / 480 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.4183, allocations: 16 kB / 480 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.4183, allocations: 12 kB / 480 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.4187, allocations: 267.9 kB / 480.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.4206, allocations: 1.33 MB / 481.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.421, allocations: 238.8 kB / 481.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.4214, allocations: 185.3 kB / 482 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.4214, allocations: 4.5 kB / 482 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.4214, allocations: 38.56 kB / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.934e-06/0.4214, allocations: 0 / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.000588/0.422, allocations: 290.1 kB / 482.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.4221, allocations: 235.3 kB / 482.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.4223, allocations: 181.9 kB / 482.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.4223, allocations: 33.7 kB / 482.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.4225, allocations: 200.2 kB / 483 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.851e-05/0.4225, allocations: 102.5 kB / 483.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.4226, allocations: 4 kB / 483.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4227, allocations: 334.8 kB / 483.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.4228, allocations: 71.98 kB / 483.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.423, allocations: 152.2 kB / 483.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.4231, allocations: 87.77 kB / 483.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4231, allocations: 0 / 483.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003735/0.4235, allocations: 257.2 kB / 484 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4235, allocations: 9.031 kB / 484 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4236, allocations: 0 / 484 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4236, allocations: 8.062 kB / 484 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.4239, allocations: 83.89 kB / 484.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4239, allocations: 3.953 kB / 484.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.4241, allocations: 27.75 kB / 484.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.4241, allocations: 12 kB / 484.1 MB, free: 13.31 MB / 362.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 8.942e-05/0.4242, allocations: 120.9 kB / 484.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.4243, allocations: 27.7 kB / 484.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.625e-05/0.4244, allocations: 38.77 kB / 484.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.4244, allocations: 4 kB / 484.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.4244, allocations: 4 kB / 484.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.4244, allocations: 7.938 kB / 484.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.4254, allocations: 0.7565 MB / 485.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4255, allocations: 0 / 485.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.4257, allocations: 51.91 kB / 485.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002969/0.426, allocations: 92.8 kB / 485.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.4261, allocations: 8 kB / 485.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.4278, allocations: 1.819 MB / 487.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.4278, allocations: 8.016 kB / 487.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.4285, allocations: 0.4918 MB / 487.6 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.4286, allocations: 104.7 kB / 487.7 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.4287, allocations: 16.11 kB / 487.7 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.4288, allocations: 12 kB / 487.7 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.4289, allocations: 23.97 kB / 487.7 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4289, allocations: 4 kB / 487.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.429, allocations: 152.4 kB / 487.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4291, allocations: 0 / 487.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003578/0.4294, allocations: 103.7 kB / 488 MB, free: 9.23 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.0009497/0.4304, allocations: 1.124 MB / 489.1 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.4307, allocations: 204 kB / 489.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4307, allocations: 0 / 489.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.4311, allocations: 258.3 kB / 489.5 MB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.4314, allocations: 31.94 kB / 489.6 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.4327, allocations: 0.7563 MB / 490.3 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.433, allocations: 0.7989 MB / 491.1 MB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.988e-05/0.4331, allocations: 22.08 kB / 491.1 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.4332, allocations: 103.3 kB / 491.2 MB, free: 5.832 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4333, allocations: 0 / 491.2 MB, free: 5.832 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.4512, allocations: 5.323 MB / 496.6 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.4515, allocations: 173.9 kB / 496.7 MB, free: 436 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.271, allocations: 0 / 496.7 MB, free: 436 kB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat