Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 194.9 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003439, allocations: 11.98 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003413/0.2938, allocations: 2.06 MB / 310.6 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2953, allocations: 0.6362 MB / 311.3 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2955, allocations: 7.938 kB / 311.3 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.939e-05/0.2956, allocations: 27.83 kB / 311.3 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.296, allocations: 107.6 kB / 311.4 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.2961, allocations: 51.83 kB / 311.5 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.2965, allocations: 199.4 kB / 311.6 MB, free: 9.566 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.2967, allocations: 72.92 kB / 311.7 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.2969, allocations: 83.7 kB / 311.8 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.2971, allocations: 107.5 kB / 311.9 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.2972, allocations: 12 kB / 311.9 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.884e-05/0.2973, allocations: 16 kB / 311.9 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.2973, allocations: 43.81 kB / 312 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.2974, allocations: 65.58 kB / 312 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.2977, allocations: 196.4 kB / 312.2 MB, free: 8.973 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.2977, allocations: 0 / 312.2 MB, free: 8.973 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2978, allocations: 0 / 312.2 MB, free: 8.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2978, allocations: 0 / 312.2 MB, free: 8.973 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009847/0.2988, allocations: 0.495 MB / 312.7 MB, free: 8.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2988, allocations: 8.031 kB / 312.7 MB, free: 8.422 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.006e-05/0.2989, allocations: 62.48 kB / 312.8 MB, free: 8.352 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.558e-05/0.299, allocations: 31.61 kB / 312.8 MB, free: 8.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.2994, allocations: 239.3 kB / 313.1 MB, free: 8.043 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.2994, allocations: 20.44 kB / 313.1 MB, free: 8.023 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.2995, allocations: 16 kB / 313.1 MB, free: 8.008 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.3, allocations: 199.3 kB / 313.3 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3, allocations: 0 / 313.3 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.3001, allocations: 8 kB / 313.3 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.3001, allocations: 8 kB / 313.3 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.3005, allocations: 149.6 kB / 313.5 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.3027, allocations: 0.8806 MB / 314.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/0.3033, allocations: 173.5 kB / 314.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.3034, allocations: 0 / 314.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.3034, allocations: 42.56 kB / 314.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 3.707e-06/0.3034, allocations: 3.984 kB / 314.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.002222/0.3056, allocations: 423.4 kB / 315 MB, free: 6.016 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.3058, allocations: 59.36 kB / 315 MB, free: 5.945 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.3061, allocations: 216.2 kB / 315.2 MB, free: 5.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.3062, allocations: 29.7 kB / 315.3 MB, free: 5.691 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3064, allocations: 171.8 kB / 315.4 MB, free: 5.52 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/0.3064, allocations: 47.27 kB / 315.5 MB, free: 5.473 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.3065, allocations: 4 kB / 315.5 MB, free: 5.469 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3067, allocations: 326.8 kB / 315.8 MB, free: 5.141 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3068, allocations: 51.91 kB / 315.8 MB, free: 5.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.307, allocations: 97.92 kB / 315.9 MB, free: 4.973 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.3072, allocations: 59.94 kB / 316 MB, free: 4.914 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3072, allocations: 4 kB / 316 MB, free: 4.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001144/0.3084, allocations: 278 kB / 316.3 MB, free: 4.629 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3084, allocations: 8.188 kB / 316.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3085, allocations: 4 kB / 316.3 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008057/0.3093, allocations: 92.78 kB / 316.4 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.3096, allocations: 39.92 kB / 316.4 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003715/0.3133, allocations: 1.762 MB / 318.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.3136, allocations: 27.72 kB / 318.2 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.3136, allocations: 11.95 kB / 318.2 MB, free: 2.535 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001738/0.3138, allocations: 133.8 kB / 318.4 MB, free: 2.395 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.3138, allocations: 15.88 kB / 318.4 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.3139, allocations: 25.7 kB / 318.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3139, allocations: 4 kB / 318.4 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3139, allocations: 4 kB / 318.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.314, allocations: 0 / 318.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.3144, allocations: 285.4 kB / 318.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3144, allocations: 0 / 318.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.3146, allocations: 23.98 kB / 318.7 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006919/0.3153, allocations: 96.72 kB / 318.8 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.3154, allocations: 8 kB / 318.8 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.3188, allocations: 1.754 MB / 320.6 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.3188, allocations: 3.953 kB / 320.6 MB, free: 0 / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.32, allocations: 379.8 kB / 320.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.3201, allocations: 92.94 kB / 321 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.3201, allocations: 4 kB / 321 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.3204, allocations: 19.98 kB / 321 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.3205, allocations: 7.984 kB / 321.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.3205, allocations: 8 kB / 321.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002051/0.3207, allocations: 159.3 kB / 321.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3207, allocations: 4.062 kB / 321.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005777/0.3213, allocations: 63.84 kB / 321.3 MB, free: 15.24 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 10 * 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.0014/0.3227, allocations: 0.9043 MB / 322.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00063/0.3234, allocations: 252.8 kB / 322.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3234, allocations: 4.062 kB / 322.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.3237, allocations: 186.5 kB / 322.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3241, allocations: 34.69 kB / 322.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.3273, allocations: 1.335 MB / 324 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.3277, allocations: 0.7481 MB / 324.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.3279, allocations: 21.95 kB / 324.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.328, allocations: 59.42 kB / 324.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.328, allocations: 0 / 324.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.3568, allocations: 4.288 MB / 329.1 MB, free: 7.301 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.3571, allocations: 216.9 kB / 329.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/2.721, allocations: 4 kB / 329.3 MB, free: 7.055 MB / 266.7 MB "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:C,R,R1,R2,Vns,Vps,c.C,c.i,c.n.i,c.n.v,c.p.i,c.p.v,c.v,der(c.v),f,ground.p.i,ground.p.v,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.i_s,opAmp.in_n.i,opAmp.in_n.v,opAmp.in_p.i,opAmp.in_p.v,opAmp.out.i,opAmp.out.v,opAmp.p_in,opAmp.p_out,opAmp.p_s,opAmp.useSupply,opAmp.v_in,opAmp.v_out,opAmp.vns,opAmp.vps,r.LossPower,r.R,r.R_actual,r.T,r.T_heatPort,r.T_ref,r.alpha,r.i,r.n.i,r.n.v,r.p.i,r.p.v,r.useHeatPort,r.v,r1.LossPower,r1.R,r1.R_actual,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r1.i,r1.n.i,r1.n.v,r1.p.i,r1.p.v,r1.useHeatPort,r1.v,r2.LossPower,r2.R,r2.R_actual,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,r2.i,r2.n.i,r2.n.v,r2.p.i,r2.p.v,r2.useHeatPort,r2.v,time,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v