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.001282/0.001282, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009356/0.0009357, allocations: 99.25 kB / 286.7 MB, free: 5.367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.943e-05/1.937e-05, allocations: 4 kB / 343.8 MB, free: 8.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.08997, allocations: 51.48 MB / 395.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3076/0.3976, allocations: 80.96 MB / 476.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.3978, allocations: 69.45 kB / 476.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02169/0.4195, allocations: 8.701 MB / 485 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4195, allocations: 0 / 485 MB, free: 4.672 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.4196, allocations: 8 kB / 485 MB, free: 4.664 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.0008476/0.4204, allocations: 0.6395 MB / 485.6 MB, free: 4.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4205, allocations: 8.031 kB / 485.7 MB, free: 4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.4207, allocations: 51.53 kB / 485.7 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.421, allocations: 289.9 kB / 486 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.4211, allocations: 15.61 kB / 486 MB, free: 3.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.4211, allocations: 23.91 kB / 486 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003303/0.4214, allocations: 201.3 kB / 486.2 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.4219, allocations: 283.4 kB / 486.5 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4219, allocations: 0 / 486.5 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.4219, allocations: 4 kB / 486.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4219, allocations: 4 kB / 486.5 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.4234, allocations: 1.111 MB / 487.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.4238, allocations: 230.1 kB / 487.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.4241, allocations: 188.1 kB / 488 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004906/0.4246, allocations: 1.124 MB / 489.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.4246, allocations: 38.42 kB / 489.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.4246, allocations: 0 / 489.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005695/0.4252, allocations: 263.3 kB / 489.4 MB, free: 408 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.4252, allocations: 81.11 kB / 489.5 MB, free: 308 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.4255, allocations: 251.6 kB / 489.8 MB, free: 104 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.4255, allocations: 25.7 kB / 489.8 MB, free: 72 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.4256, allocations: 218.1 kB / 490 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.4257, allocations: 100.3 kB / 490.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.4257, allocations: 3.938 kB / 490.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4258, allocations: 341.4 kB / 490.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.426, allocations: 79.44 kB / 490.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.4262, allocations: 156.7 kB / 490.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.4264, allocations: 114.3 kB / 490.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4264, allocations: 0 / 490.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000589/0.427, allocations: 355.4 kB / 491.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.427, allocations: 12 kB / 491.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.427, allocations: 0 / 491.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002492/0.4273, allocations: 63.64 kB / 491.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.4276, allocations: 83.58 kB / 491.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.4292, allocations: 1.702 MB / 493 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.4295, allocations: 31.67 kB / 493 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.4295, allocations: 15.44 kB / 493 MB, free: 13.14 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.0001061/0.4296, allocations: 108.9 kB / 493.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004482/0.4301, allocations: 273.7 kB / 493.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.4302, allocations: 31.62 kB / 493.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.4306, allocations: 285.6 kB / 493.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4307, allocations: 4 kB / 493.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.4307, allocations: 4 kB / 493.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4307, allocations: 0 / 493.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.4311, allocations: 341 kB / 494.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4311, allocations: 0 / 494.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.4314, allocations: 60.86 kB / 494.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001579/0.4316, allocations: 60.89 kB / 494.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.4316, allocations: 11.94 kB / 494.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003749/0.432, allocations: 0.5981 MB / 494.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.432, allocations: 3.984 kB / 494.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.4326, allocations: 470.1 kB / 495.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.4327, allocations: 111.7 kB / 495.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.4328, allocations: 3.953 kB / 495.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.433, allocations: 23.92 kB / 495.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.4331, allocations: 18.91 kB / 495.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.4331, allocations: 12 kB / 495.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.4333, allocations: 192.5 kB / 495.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4333, allocations: 0 / 495.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004643/0.4338, allocations: 103.7 kB / 495.7 MB, free: 10.73 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.0009781/0.4348, allocations: 1.037 MB / 496.7 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005784/0.4354, allocations: 347 kB / 497.1 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4354, allocations: 0 / 497.1 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.4356, allocations: 121.2 kB / 497.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.4359, allocations: 31.16 kB / 497.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.4372, allocations: 0.7358 MB / 498 MB, free: 8.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.4375, allocations: 0.7991 MB / 498.8 MB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.4377, allocations: 37.69 kB / 498.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.4379, allocations: 123 kB / 498.9 MB, free: 7.781 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4379, allocations: 4 kB / 498.9 MB, free: 7.777 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.4629, allocations: 5.799 MB / 0.4929 GB, free: 2.043 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.4631, allocations: 155.4 kB / 0.493 GB, free: 1.852 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.387, allocations: 3.938 kB / 0.4931 GB, free: 1.848 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)