Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002397/0.002397, allocations: 181.9 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 92.41 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 12 kB / 327.1 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3335, allocations: 47.56 MB / 374.6 MB, free: 45.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.4616, allocations: 79.18 MB / 453.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.462, allocations: 67.97 kB / 453.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04022/0.5022, allocations: 8.391 MB / 462.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5023, allocations: 0 / 462.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.816e-05/0.5023, allocations: 8 kB / 462.3 MB, free: 8.973 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.001785/0.5041, allocations: 0.6662 MB / 462.9 MB, free: 8.258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.5042, allocations: 12.03 kB / 462.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.5043, allocations: 70.53 kB / 463 MB, free: 8.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.5045, allocations: 51.38 kB / 463.1 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/0.505, allocations: 294.3 kB / 463.4 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.5051, allocations: 28.59 kB / 463.4 MB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.242e-05/0.5052, allocations: 39.98 kB / 463.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.5063, allocations: 349.8 kB / 463.8 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.5063, allocations: 0 / 463.8 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/0.5064, allocations: 12 kB / 463.8 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.5064, allocations: 8 kB / 463.8 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008663/0.5073, allocations: 238.5 kB / 464 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.5106, allocations: 1.198 MB / 465.2 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.5118, allocations: 297.7 kB / 465.5 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.513, allocations: 1.121 MB / 466.6 MB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.342e-05/0.5131, allocations: 38.73 kB / 466.7 MB, free: 4.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.617e-06/0.5131, allocations: 0 / 466.7 MB, free: 4.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.002087/0.5152, allocations: 0.5057 MB / 467.2 MB, free: 3.582 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/0.5153, allocations: 81.11 kB / 467.2 MB, free: 3.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.5159, allocations: 295.7 kB / 467.5 MB, free: 3.191 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.516, allocations: 33.7 kB / 467.6 MB, free: 3.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.5162, allocations: 262.5 kB / 467.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.5163, allocations: 102.6 kB / 467.9 MB, free: 2.793 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.5164, allocations: 4 kB / 467.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5165, allocations: 326.8 kB / 468.2 MB, free: 2.461 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.517, allocations: 112.7 kB / 468.4 MB, free: 2.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.5175, allocations: 186 kB / 468.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/0.5181, allocations: 140.1 kB / 468.7 MB, free: 2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5181, allocations: 0 / 468.7 MB, free: 2 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001131/0.5192, allocations: 357.3 kB / 469 MB, free: 1.645 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.5193, allocations: 4.938 kB / 469 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5193, allocations: 4 kB / 469 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.5193, allocations: 4 kB / 469 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007757/0.5201, allocations: 95.89 kB / 469.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.5201, allocations: 11.92 kB / 469.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.5206, allocations: 43.59 kB / 469.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.5207, allocations: 19.94 kB / 469.2 MB, free: 1.465 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002752/0.521, allocations: 145.8 kB / 469.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.5211, allocations: 39.56 kB / 469.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.5224, allocations: 336.4 kB / 469.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5224, allocations: 0 / 469.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5224, allocations: 0 / 469.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.5225, allocations: 7.984 kB / 469.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000734/0.5232, allocations: 385.2 kB / 470.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.5232, allocations: 0 / 470.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.5239, allocations: 71.95 kB / 470.2 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/0.5243, allocations: 44.72 kB / 470.2 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.5243, allocations: 12 kB / 470.2 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006072/0.5249, allocations: 0.5642 MB / 470.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.525, allocations: 4.062 kB / 470.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.5266, allocations: 0.5287 MB / 471.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.5268, allocations: 116.6 kB / 471.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.5269, allocations: 4 kB / 471.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.5274, allocations: 27.98 kB / 471.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.5275, allocations: 19.97 kB / 471.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.5275, allocations: 8 kB / 471.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004041/0.5279, allocations: 231 kB / 471.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.528, allocations: 0 / 471.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000618/0.5286, allocations: 115.7 kB / 471.8 MB, free: 14.69 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002181/0.5308, allocations: 1.092 MB / 472.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.5319, allocations: 279.9 kB / 473.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.5319, allocations: 64 / 473.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006061/0.5325, allocations: 147.8 kB / 473.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.533, allocations: 30 kB / 473.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006301/0.5393, allocations: 3.573 MB / 476.9 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.5399, allocations: 0.7994 MB / 477.7 MB, free: 8.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.5402, allocations: 131.4 kB / 477.9 MB, free: 8.512 MB / 362.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5402, allocations: 0 / 477.9 MB, free: 8.512 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.624/3.164, allocations: 6.225 MB / 484.1 MB, free: 2.297 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --timeout=50 --tolerance=2e-07 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)