Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",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.001053/0.001053, allocations: 193.3 kB / 8.537 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.162/1.162, allocations: 225.5 MB / 234.4 MB, free: 3.449 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009058/0.0009057, allocations: 93.14 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.091/0.09193, allocations: 56.9 MB / 343.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08033/0.1723, allocations: 51.48 MB / 394.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.3701, allocations: 80.89 MB / 475.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001699/0.3703, allocations: 70.36 kB / 475.7 MB, free: 11.55 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.02226/0.3926, allocations: 9.059 MB / 484.7 MB, free: 4.645 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3926, allocations: 8 kB / 484.7 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.3928, allocations: 70.61 kB / 484.8 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.3932, allocations: 297.6 kB / 485.1 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3932, allocations: 13.31 kB / 485.1 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.3932, allocations: 20 kB / 485.1 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003338/0.3936, allocations: 194.2 kB / 485.3 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.394, allocations: 281.1 kB / 485.6 MB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.394, allocations: 0 / 485.6 MB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.394, allocations: 0 / 485.6 MB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.394, allocations: 15.98 kB / 485.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.3956, allocations: 1.1 MB / 486.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.396, allocations: 214.9 kB / 486.9 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.3964, allocations: 187.1 kB / 487.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005464/0.3969, allocations: 1.139 MB / 488.2 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.397, allocations: 34.42 kB / 488.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.603e-06/0.397, allocations: 0 / 488.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005874/0.3976, allocations: 263.1 kB / 488.5 MB, free: 1.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.3976, allocations: 85.05 kB / 488.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.3978, allocations: 248.8 kB / 488.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.3979, allocations: 25.7 kB / 488.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.398, allocations: 183.3 kB / 489.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.398, allocations: 102 kB / 489.2 MB, free: 440 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.398, allocations: 3.938 kB / 489.2 MB, free: 436 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.117e-05/0.3981, allocations: 342.2 kB / 489.5 MB, free: 96 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3982, allocations: 79.44 kB / 489.6 MB, free: 48 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.3985, allocations: 155.8 kB / 489.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.3987, allocations: 113.2 kB / 489.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3987, allocations: 0 / 489.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006439/0.3993, allocations: 349.4 kB / 490.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3994, allocations: 8 kB / 490.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3994, allocations: 4 kB / 490.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.3996, allocations: 60.06 kB / 490.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.4, allocations: 89.2 kB / 490.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.4016, allocations: 1.679 MB / 492 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.4018, allocations: 32.62 kB / 492.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.4019, allocations: 12 kB / 492.1 MB, free: 13.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.294e-05/0.402, allocations: 112.8 kB / 492.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.4021, allocations: 35.61 kB / 492.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005221/0.4026, allocations: 289.5 kB / 492.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4026, allocations: 4 kB / 492.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.4026, allocations: 4 kB / 492.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4026, allocations: 3.984 kB / 492.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.403, allocations: 334.4 kB / 492.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.403, allocations: 0.6875 kB / 492.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.4034, allocations: 63.89 kB / 492.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001651/0.4035, allocations: 55.33 kB / 492.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.4036, allocations: 7.875 kB / 493 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000375/0.404, allocations: 0.6095 MB / 493.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.404, allocations: 4 kB / 493.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006471/0.4046, allocations: 474.3 kB / 494 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008287/0.4055, allocations: 0.9409 MB / 495 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.4056, allocations: 104.2 kB / 495.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.4056, allocations: 3.906 kB / 495.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.4059, allocations: 27.97 kB / 495.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.406, allocations: 21.23 kB / 495.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.406, allocations: 11.98 kB / 495.1 MB, free: 11 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001559/0.4062, allocations: 185.8 kB / 495.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009952/0.4072, allocations: 107.7 kB / 495.4 MB, free: 10.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002118/0.4074, allocations: 129.5 kB / 495.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005831/0.408, allocations: 344.1 kB / 495.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.408, allocations: 4 kB / 495.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.4082, allocations: 116.9 kB / 496 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.4085, allocations: 21.89 kB / 496 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.4096, allocations: 0.6622 MB / 496.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.41, allocations: 0.8491 MB / 497.5 MB, free: 8.758 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.41, allocations: 0 / 497.5 MB, free: 8.758 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --timeout=50 --tolerance=2e-07 Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)