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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001721/0.001722, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002207/0.002207, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3068, allocations: 50.54 MB / 408.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004719/0.3116, allocations: 3.244 MB / 412 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.3136, allocations: 1.013 MB / 413 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.314, allocations: 4 kB / 413 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.3143, allocations: 63.36 kB / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.3149, allocations: 126.9 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.3155, allocations: 159.7 kB / 413.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008042/0.3163, allocations: 489.9 kB / 413.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.3166, allocations: 127.1 kB / 414 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.317, allocations: 187.3 kB / 414.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.3173, allocations: 215.1 kB / 414.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.3174, allocations: 40 kB / 414.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.3176, allocations: 75.97 kB / 414.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.779e-05/0.3177, allocations: 99.59 kB / 414.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3179, allocations: 215 kB / 414.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.3185, allocations: 0.4921 MB / 415.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3185, allocations: 0 / 415.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3186, allocations: 4 kB / 415.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3186, allocations: 0 / 415.3 MB, free: 11.02 MB / 334.1 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.00148/0.3201, allocations: 0.7442 MB / 416 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.3201, allocations: 8.031 kB / 416 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.3202, allocations: 70.72 kB / 416.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.3205, allocations: 52.38 kB / 416.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.321, allocations: 323.3 kB / 416.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.321, allocations: 25.03 kB / 416.5 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.3211, allocations: 36.38 kB / 416.5 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006638/0.3218, allocations: 357.1 kB / 416.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3218, allocations: 4 kB / 416.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.3218, allocations: 8 kB / 416.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.3218, allocations: 8 kB / 416.9 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.3223, allocations: 238.5 kB / 417.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.3244, allocations: 1.166 MB / 418.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.3251, allocations: 287 kB / 418.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005228/0.3256, allocations: 217.2 kB / 418.8 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008093/0.3264, allocations: 1.113 MB / 419.9 MB, free: 5.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3265, allocations: 38.8 kB / 419.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.663e-06/0.3265, allocations: 0 / 419.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001396/0.3279, allocations: 0.5287 MB / 420.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3279, allocations: 77.11 kB / 420.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.3283, allocations: 341.7 kB / 420.9 MB, free: 4.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.3284, allocations: 33.7 kB / 420.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.3285, allocations: 220.1 kB / 421.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.571e-05/0.3286, allocations: 90.61 kB / 421.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.3287, allocations: 77.97 kB / 421.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3289, allocations: 346.7 kB / 421.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.3291, allocations: 104.7 kB / 421.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.3294, allocations: 186 kB / 421.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.3299, allocations: 284.2 kB / 422.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3299, allocations: 0 / 422.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008036/0.3308, allocations: 436.9 kB / 422.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3308, allocations: 12.25 kB / 422.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3308, allocations: 0 / 422.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002661/0.3311, allocations: 64.81 kB / 422.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.3314, allocations: 83.83 kB / 422.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.3334, allocations: 1.963 MB / 424.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.3337, allocations: 35.72 kB / 424.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.3337, allocations: 15.98 kB / 424.8 MB, free: 0.75 MB / 334.1 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.3339, allocations: 153.7 kB / 424.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.334, allocations: 35.53 kB / 425 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007162/0.3347, allocations: 338.3 kB / 425.3 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3347, allocations: 7.938 kB / 425.3 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3347, allocations: 3.938 kB / 425.3 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3347, allocations: 0 / 425.3 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.3352, allocations: 389.5 kB / 425.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3352, allocations: 0 / 425.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.3356, allocations: 63.89 kB / 425.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.3358, allocations: 52.83 kB / 425.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.3358, allocations: 15.98 kB / 425.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004177/0.3363, allocations: 0.6069 MB / 426.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3363, allocations: 4 kB / 426.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.3372, allocations: 0.521 MB / 427 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/0.3373, allocations: 108.7 kB / 427.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.3374, allocations: 8 kB / 427.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.3376, allocations: 27.97 kB / 427.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.3377, allocations: 11.98 kB / 427.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.3377, allocations: 11.98 kB / 427.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002328/0.338, allocations: 239.2 kB / 427.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.338, allocations: 4 kB / 427.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004454/0.3384, allocations: 103.8 kB / 427.5 MB, free: 13.94 MB / 350.1 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001279/0.3397, allocations: 1.085 MB / 428.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008253/0.3405, allocations: 414.1 kB / 429 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3406, allocations: 0 / 429 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.3409, allocations: 143.9 kB / 429.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.3413, allocations: 53.89 kB / 429.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.3461, allocations: 3.753 MB / 432.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.3466, allocations: 0.7912 MB / 433.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.3467, allocations: 38.89 kB / 433.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.3469, allocations: 131.4 kB / 433.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3469, allocations: 0 / 433.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.377, allocations: 7.908 MB / 441.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.28, allocations: 18.78 kB / 441.8 MB, free: 15.61 MB / 366.1 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/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)