Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0-beta_om_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.001343/0.001343, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 227.7 MB / 247.2 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 63.91 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2567, allocations: 50.54 MB / 409.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004624/0.2613, allocations: 3.24 MB / 412.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.2631, allocations: 1.017 MB / 413.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.2633, allocations: 4 kB / 413.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.2634, allocations: 67.34 kB / 413.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.2638, allocations: 127 kB / 413.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.2641, allocations: 151.6 kB / 413.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.2646, allocations: 490 kB / 414.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.2649, allocations: 139.1 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.2652, allocations: 191.3 kB / 414.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.2655, allocations: 211.1 kB / 414.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.504e-05/0.2656, allocations: 43.94 kB / 414.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.2657, allocations: 75.97 kB / 414.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.21e-05/0.2658, allocations: 95.61 kB / 414.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.266, allocations: 215 kB / 415.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.2666, allocations: 0.5047 MB / 415.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2666, allocations: 0 / 415.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2666, allocations: 0 / 415.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.2666, allocations: 0 / 415.6 MB, free: 10.8 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.001294/0.2679, allocations: 0.7399 MB / 416.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.268, allocations: 12.03 kB / 416.3 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.399e-05/0.2681, allocations: 70.72 kB / 416.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.2683, allocations: 60.64 kB / 416.5 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.2687, allocations: 315.5 kB / 416.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.2687, allocations: 25.03 kB / 416.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/0.2688, allocations: 36.38 kB / 416.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.2694, allocations: 353.1 kB / 417.2 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2695, allocations: 0 / 417.2 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.2695, allocations: 12 kB / 417.2 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.2695, allocations: 11.98 kB / 417.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.27, allocations: 234.5 kB / 417.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.2719, allocations: 1.174 MB / 418.6 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/0.2726, allocations: 288.9 kB / 418.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.2731, allocations: 217.2 kB / 419.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008956/0.274, allocations: 1.109 MB / 420.2 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2741, allocations: 38.73 kB / 420.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.984e-06/0.2741, allocations: 0 / 420.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.00137/0.2755, allocations: 0.5289 MB / 420.8 MB, free: 5.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.2755, allocations: 89.11 kB / 420.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.2759, allocations: 337.7 kB / 421.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.276, allocations: 29.7 kB / 421.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.2761, allocations: 224.5 kB / 421.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-05/0.2762, allocations: 107.1 kB / 421.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.2764, allocations: 70.03 kB / 421.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2765, allocations: 350.7 kB / 422 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.2768, allocations: 108.7 kB / 422.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.2771, allocations: 182 kB / 422.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.2776, allocations: 283.6 kB / 422.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2776, allocations: 4 kB / 422.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000819/0.2784, allocations: 434 kB / 423 MB, free: 2.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2785, allocations: 4 kB / 423 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2785, allocations: 4 kB / 423 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.2787, allocations: 68.75 kB / 423 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.279, allocations: 75.89 kB / 423.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.281, allocations: 1.951 MB / 425.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.2813, allocations: 39.72 kB / 425.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.2813, allocations: 16 kB / 425.1 MB, free: 0.5273 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.0001842/0.2815, allocations: 153.7 kB / 425.3 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.2816, allocations: 43.77 kB / 425.3 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007288/0.2823, allocations: 326.3 kB / 425.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2823, allocations: 0 / 425.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2823, allocations: 11.88 kB / 425.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2823, allocations: 3.938 kB / 425.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.2828, allocations: 401.3 kB / 426 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2828, allocations: 0 / 426 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.2832, allocations: 59.89 kB / 426.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/0.2834, allocations: 64.8 kB / 426.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.2834, allocations: 8 kB / 426.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000456/0.2839, allocations: 0.607 MB / 426.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2839, allocations: 0 / 426.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/0.2848, allocations: 0.5291 MB / 427.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/0.2849, allocations: 108.8 kB / 427.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.285, allocations: 12 kB / 427.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.2852, allocations: 23.98 kB / 427.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.2853, allocations: 15.97 kB / 427.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.2853, allocations: 8 kB / 427.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002551/0.2856, allocations: 243.2 kB / 427.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.903e-06/0.2856, allocations: 0 / 427.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004465/0.286, allocations: 115.8 kB / 427.8 MB, free: 13.7 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.001393/0.2874, allocations: 1.08 MB / 428.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008769/0.2883, allocations: 414.4 kB / 429.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2883, allocations: 0 / 429.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.2887, allocations: 144.3 kB / 429.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.2891, allocations: 49.81 kB / 429.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.2943, allocations: 3.771 MB / 433.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.2947, allocations: 0.7912 MB / 434 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.2949, allocations: 38.95 kB / 434.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.295, allocations: 127.4 kB / 434.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2951, allocations: 0 / 434.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.3314, allocations: 7.784 MB / 442 MB, free: 15.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/13.89, allocations: 15.58 kB / 442 MB, free: 15.52 MB / 366.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --timeout=50 --tolerance=2e-07 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)