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.001084/0.001084, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 227.2 MB / 245 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 98.42 kB / 297.3 MB, free: 6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002144/0.0002144, allocations: 8 kB / 358 MB, free: 9.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1869, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09017/0.2771, allocations: 81.69 MB / 491.2 MB, free: 8.898 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.2773, allocations: 71.97 kB / 491.3 MB, free: 8.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02347/0.3008, allocations: 8.783 MB / 0.4883 GB, free: 24 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3008, allocations: 4 kB / 0.4883 GB, free: 20 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.3009, allocations: 4 kB / 0.4883 GB, free: 16 kB / 362.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.001204/0.3021, allocations: 0.6817 MB / 0.489 GB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3021, allocations: 8.031 kB / 0.489 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.3022, allocations: 70.53 kB / 0.4891 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.3024, allocations: 59.42 kB / 0.4891 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.3028, allocations: 298.2 kB / 0.4894 GB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.3029, allocations: 24.66 kB / 0.4894 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.3029, allocations: 40 kB / 0.4895 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.3036, allocations: 345 kB / 0.4898 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3036, allocations: 0 / 0.4898 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.3036, allocations: 12 kB / 0.4898 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3036, allocations: 8 kB / 0.4898 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/0.3041, allocations: 246.5 kB / 0.4901 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.3061, allocations: 1.182 MB / 0.4912 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.3067, allocations: 310.6 kB / 0.4915 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007031/0.3074, allocations: 1.121 MB / 0.4926 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.3075, allocations: 46.78 kB / 0.4927 GB, free: 11.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.372e-06/0.3075, allocations: 0 / 0.4927 GB, free: 11.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.001123/0.3086, allocations: 0.4903 MB / 0.4931 GB, free: 10.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3087, allocations: 81.11 kB / 0.4932 GB, free: 10.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.309, allocations: 291.7 kB / 0.4935 GB, free: 10.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.309, allocations: 29.7 kB / 0.4935 GB, free: 10.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3092, allocations: 224.1 kB / 0.4937 GB, free: 9.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.551e-05/0.3092, allocations: 98.61 kB / 0.4938 GB, free: 9.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.3093, allocations: 8 kB / 0.4938 GB, free: 9.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3094, allocations: 346.8 kB / 0.4942 GB, free: 9.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.3096, allocations: 108.7 kB / 0.4943 GB, free: 9.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.3099, allocations: 189.7 kB / 0.4944 GB, free: 9.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.3102, allocations: 124 kB / 0.4946 GB, free: 9.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.3102, allocations: 4 kB / 0.4946 GB, free: 9.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006384/0.3108, allocations: 384.9 kB / 0.4949 GB, free: 8.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3109, allocations: 4 kB / 0.4949 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3109, allocations: 4 kB / 0.4949 GB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3109, allocations: 8.25 kB / 0.495 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.3113, allocations: 99.88 kB / 0.495 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3113, allocations: 7.938 kB / 0.4951 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.3116, allocations: 47.52 kB / 0.4951 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.3116, allocations: 16 kB / 0.4951 GB, free: 8.504 MB / 378.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.0001513/0.3118, allocations: 153.8 kB / 0.4953 GB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.3118, allocations: 35.58 kB / 0.4953 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006506/0.3125, allocations: 331.8 kB / 0.4956 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3125, allocations: 4 kB / 0.4956 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3125, allocations: 0 / 0.4956 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3125, allocations: 0 / 0.4956 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.313, allocations: 389.2 kB / 0.496 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.313, allocations: 3.984 kB / 0.496 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.3134, allocations: 67.89 kB / 0.4961 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/0.3135, allocations: 44.73 kB / 0.4961 GB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.3136, allocations: 15.98 kB / 0.4961 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000354/0.3139, allocations: 0.5641 MB / 0.4967 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.314, allocations: 0 / 0.4967 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008422/0.3148, allocations: 0.5215 MB / 0.4972 GB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.3149, allocations: 120.6 kB / 0.4973 GB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.315, allocations: 8 kB / 0.4973 GB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.3153, allocations: 23.98 kB / 0.4973 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.3153, allocations: 15.92 kB / 0.4973 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.3153, allocations: 15.98 kB / 0.4974 GB, free: 6.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00022/0.3156, allocations: 227.1 kB / 0.4976 GB, free: 5.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3156, allocations: 0 / 0.4976 GB, free: 5.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003782/0.316, allocations: 119.8 kB / 0.4977 GB, free: 5.734 MB / 378.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.001178/0.3171, allocations: 1.096 MB / 0.4988 GB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005446/0.3177, allocations: 279.7 kB / 0.499 GB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3177, allocations: 0 / 0.499 GB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.318, allocations: 140.4 kB / 0.4992 GB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.3183, allocations: 33.42 kB / 0.4992 GB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.3218, allocations: 3.554 MB / 0.5027 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.142/0.4638, allocations: 0.7962 MB / 0.5034 GB, free: 95.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00024/0.4641, allocations: 41.11 kB / 0.5035 GB, free: 95.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.4643, allocations: 127.7 kB / 0.5036 GB, free: 95.5 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.4643, allocations: 2.719 kB / 0.5036 GB, free: 95.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.4837, allocations: 6.533 MB / 0.51 GB, free: 95.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.4839, allocations: 222 kB / 0.5102 GB, free: 94.99 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.314, allocations: 0 / 0.5102 GB, free: 94.99 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)