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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 209.3 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.115/1.115, allocations: 225.5 MB / 234.4 MB, free: 3.496 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009151/0.0009154, allocations: 97.69 kB / 286.3 MB, free: 5.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09099/0.09193, allocations: 56.89 MB / 343.2 MB, free: 8.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.1732, allocations: 51.47 MB / 394.7 MB, free: 5.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.3733, allocations: 78.32 MB / 473 MB, free: 13.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001379/0.3734, allocations: 69.89 kB / 473.1 MB, free: 13.3 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.0139/0.3874, allocations: 6.266 MB / 479.3 MB, free: 9.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.3874, allocations: 8 kB / 479.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.3876, allocations: 63.42 kB / 479.4 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.3879, allocations: 282.3 kB / 479.7 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3879, allocations: 12 kB / 479.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.3879, allocations: 27.91 kB / 479.7 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003779/0.3883, allocations: 239.6 kB / 480 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/0.3888, allocations: 372.5 kB / 480.3 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.3888, allocations: 0 / 480.3 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.3888, allocations: 4 kB / 480.3 MB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3888, allocations: 8 kB / 480.3 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.3902, allocations: 1.232 MB / 481.6 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.3905, allocations: 140.6 kB / 481.7 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.3907, allocations: 184.2 kB / 481.9 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3908, allocations: 8 kB / 481.9 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.3908, allocations: 37.88 kB / 481.9 MB, free: 7.305 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.353e-06/0.3908, allocations: 0.75 kB / 481.9 MB, free: 7.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004792/0.3913, allocations: 248.6 kB / 482.2 MB, free: 7.109 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3913, allocations: 238.6 kB / 482.4 MB, free: 6.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.3914, allocations: 156.6 kB / 482.6 MB, free: 6.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3915, allocations: 29.7 kB / 482.6 MB, free: 6.645 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.3915, allocations: 193.6 kB / 482.8 MB, free: 6.465 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.3916, allocations: 95.75 kB / 482.9 MB, free: 6.383 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.3916, allocations: 0 / 482.9 MB, free: 6.383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.224e-05/0.3916, allocations: 340.3 kB / 483.2 MB, free: 6.055 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-05/0.3917, allocations: 63.06 kB / 483.3 MB, free: 6.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3918, allocations: 137.6 kB / 483.4 MB, free: 5.883 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.392, allocations: 79.45 kB / 483.5 MB, free: 5.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.392, allocations: 0 / 483.5 MB, free: 5.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002899/0.3923, allocations: 235 kB / 483.7 MB, free: 5.648 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.3923, allocations: 8 kB / 483.7 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3923, allocations: 0 / 483.7 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3923, allocations: 8 kB / 483.7 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.3926, allocations: 83.89 kB / 483.8 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3927, allocations: 0 / 483.8 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.3928, allocations: 23.73 kB / 483.8 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.3928, allocations: 10.94 kB / 483.8 MB, free: 5.52 MB / 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 5.702e-05/0.3929, allocations: 112.9 kB / 484 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.3929, allocations: 27.72 kB / 484 MB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.393, allocations: 31.83 kB / 484 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.393, allocations: 0 / 484 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.393, allocations: 4 kB / 484 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.393, allocations: 0 / 484 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/0.3938, allocations: 0.6914 MB / 484.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3938, allocations: 0 / 484.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.394, allocations: 59.62 kB / 484.8 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/0.3943, allocations: 81.72 kB / 484.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.3943, allocations: 7.625 kB / 484.9 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.3956, allocations: 1.698 MB / 486.6 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3956, allocations: 3.938 kB / 486.6 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004995/0.3961, allocations: 475.3 kB / 487 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006192/0.3967, allocations: 0.9198 MB / 487.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.3968, allocations: 100.8 kB / 488 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.3968, allocations: 4.875 kB / 488 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.397, allocations: 12.86 kB / 488.1 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.397, allocations: 7.984 kB / 488.1 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.397, allocations: 16.02 kB / 488.1 MB, free: 1.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.402e-05/0.3971, allocations: 119.5 kB / 488.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000874/0.398, allocations: 103.5 kB / 488.3 MB, free: 1.477 MB / 346.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.0001096/0.3981, allocations: 112.5 kB / 488.4 MB, free: 1.359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002441/0.3983, allocations: 186 kB / 488.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3983, allocations: 4 kB / 488.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.3986, allocations: 221.4 kB / 488.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.3988, allocations: 23.52 kB / 488.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008703/0.3997, allocations: 0.6513 MB / 489.5 MB, free: 408 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.4001, allocations: 0.8268 MB / 490.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4001, allocations: 4 kB / 490.3 MB, free: 15.55 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