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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001541/0.001541, allocations: 196.2 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.385/1.385, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008783/0.0008784, allocations: 90.39 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.442e-05/4.458e-05, allocations: 7.984 kB / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 51.47 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.4334, allocations: 81.64 MB / 483.8 MB, free: 7.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4337, allocations: 68.84 kB / 483.8 MB, free: 7.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02159/0.4553, allocations: 8.774 MB / 492.6 MB, free: 468 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4553, allocations: 0 / 492.6 MB, free: 468 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.4553, allocations: 8 kB / 492.6 MB, free: 460 kB / 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.0008832/0.4562, allocations: 0.6404 MB / 493.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4563, allocations: 11.97 kB / 493.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.073e-05/0.4564, allocations: 70.16 kB / 493.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.4565, allocations: 51.53 kB / 493.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.4569, allocations: 294.9 kB / 493.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.457, allocations: 22.66 kB / 493.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.457, allocations: 44.41 kB / 493.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.4575, allocations: 326.9 kB / 494.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4576, allocations: 0 / 494.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.4576, allocations: 9.938 kB / 494.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.4576, allocations: 8 kB / 494.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.458, allocations: 212.2 kB / 494.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.4602, allocations: 1.187 MB / 495.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.4607, allocations: 239.8 kB / 495.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.4612, allocations: 197.3 kB / 495.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009008/0.4621, allocations: 1.125 MB / 497 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.4622, allocations: 34.8 kB / 497.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.994e-06/0.4622, allocations: 0 / 497.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.000693/0.4629, allocations: 290.2 kB / 497.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.4629, allocations: 81.11 kB / 497.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.4633, allocations: 298.8 kB / 497.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.4633, allocations: 29.7 kB / 497.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.4635, allocations: 212.1 kB / 497.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/0.4636, allocations: 106.5 kB / 498 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/0.4636, allocations: 8 kB / 498.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4638, allocations: 355.3 kB / 498.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.464, allocations: 88.75 kB / 498.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4642, allocations: 165.8 kB / 498.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.4645, allocations: 114.9 kB / 498.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4645, allocations: 0 / 498.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007571/0.4653, allocations: 401.6 kB / 499.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4653, allocations: 11.98 kB / 499.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4653, allocations: 0 / 499.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.4656, allocations: 64.89 kB / 499.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.4659, allocations: 83.89 kB / 499.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.4675, allocations: 1.755 MB / 0.4893 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.4678, allocations: 39.69 kB / 0.4894 GB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.4678, allocations: 16.05 kB / 0.4894 GB, free: 7.508 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 0.0001004/0.4679, allocations: 129.1 kB / 0.4895 GB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.468, allocations: 39.52 kB / 0.4895 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005365/0.4685, allocations: 314.3 kB / 0.4898 GB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4685, allocations: 4 kB / 0.4898 GB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.4685, allocations: 5.594 kB / 0.4898 GB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.4686, allocations: 0 / 0.4898 GB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.469, allocations: 393.2 kB / 0.4902 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.469, allocations: 0 / 0.4902 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.4693, allocations: 63.89 kB / 0.4903 GB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.4695, allocations: 62.23 kB / 0.4903 GB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.4696, allocations: 8 kB / 0.4903 GB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003615/0.4699, allocations: 0.603 MB / 0.4909 GB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4699, allocations: 0 / 0.4909 GB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.4706, allocations: 496.9 kB / 0.4914 GB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.943e-05/0.4707, allocations: 116.7 kB / 0.4915 GB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.4707, allocations: 4 kB / 0.4915 GB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.471, allocations: 27.92 kB / 0.4916 GB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.4711, allocations: 19.97 kB / 0.4916 GB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.4711, allocations: 12 kB / 0.4916 GB, free: 5.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002198/0.4713, allocations: 231.2 kB / 0.4918 GB, free: 4.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4713, allocations: 0 / 0.4918 GB, free: 4.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005245/0.4719, allocations: 111.8 kB / 0.4919 GB, free: 4.777 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.001074/0.4729, allocations: 1.065 MB / 0.4929 GB, free: 3.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006354/0.4736, allocations: 377.9 kB / 0.4933 GB, free: 3.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4736, allocations: 4 kB / 0.4933 GB, free: 3.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.4738, allocations: 128.4 kB / 0.4934 GB, free: 3.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.4741, allocations: 34.05 kB / 0.4935 GB, free: 3.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.4754, allocations: 0.7691 MB / 0.4942 GB, free: 2.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.4758, allocations: 0.8004 MB / 0.495 GB, free: 1.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.4759, allocations: 36.27 kB / 0.495 GB, free: 1.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.4761, allocations: 135.4 kB / 0.4952 GB, free: 1.336 MB / 362.7 MB Notification: Performance of SimCode: time 3.597e-06/0.4761, allocations: 0 / 0.4952 GB, free: 1.336 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.4975, allocations: 6.811 MB / 0.5018 GB, free: 10.82 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.4977, allocations: 199.6 kB / 0.502 GB, free: 10.6 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.517, allocations: 0 / 0.502 GB, free: 10.6 MB / 378.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)