Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004579, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2906, allocations: 47.59 MB / 326.5 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003932/0.2946, allocations: 2.201 MB / 328.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.2967, allocations: 0.6788 MB / 329.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.2972, allocations: 6.312 kB / 329.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.2975, allocations: 27.36 kB / 329.4 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.2979, allocations: 71.86 kB / 329.5 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.2985, allocations: 63.22 kB / 329.5 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007827/0.2993, allocations: 294.6 kB / 329.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.2996, allocations: 59.75 kB / 329.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.3, allocations: 110.2 kB / 330 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.3002, allocations: 124.3 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.3003, allocations: 14.56 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.3004, allocations: 14.19 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.3004, allocations: 41.34 kB / 330.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.924e-05/0.3005, allocations: 67.77 kB / 330.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.3008, allocations: 224.4 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.597e-06/0.3009, allocations: 1.469 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3009, allocations: 4 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3009, allocations: 0 / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00151/0.3024, allocations: 0.5886 MB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.3025, allocations: 9.125 kB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.476e-05/0.3026, allocations: 29.72 kB / 331.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.303, allocations: 265 kB / 331.4 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.303, allocations: 11.84 kB / 331.4 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.3031, allocations: 21.44 kB / 331.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.3037, allocations: 245.9 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3037, allocations: 4 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.3038, allocations: 10.17 kB / 331.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3038, allocations: 4.406 kB / 331.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008371/0.3046, allocations: 276 kB / 331.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.3066, allocations: 0.8487 MB / 332.8 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.3077, allocations: 281.3 kB / 333 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.3081, allocations: 106.7 kB / 333.1 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.3081, allocations: 5.453 kB / 333.2 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006079/0.3087, allocations: 177.2 kB / 333.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.745e-06/0.3087, allocations: 0 / 333.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002187/0.3109, allocations: 0.6522 MB / 334 MB, free: 11.76 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.311, allocations: 85.11 kB / 334.1 MB, free: 11.66 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.3113, allocations: 236.9 kB / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.3114, allocations: 29.7 kB / 334.3 MB, free: 11.38 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3115, allocations: 160.1 kB / 334.5 MB, free: 11.22 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.3116, allocations: 55.22 kB / 334.5 MB, free: 11.16 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.3116, allocations: 0 / 334.5 MB, free: 11.16 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3118, allocations: 338.8 kB / 334.9 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.3121, allocations: 100.1 kB / 335 MB, free: 10.73 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.3124, allocations: 163.1 kB / 335.1 MB, free: 10.54 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.3128, allocations: 141.6 kB / 335.3 MB, free: 10.4 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3128, allocations: 3.953 kB / 335.3 MB, free: 10.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009942/0.3138, allocations: 442.5 kB / 335.7 MB, free: 9.949 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.3139, allocations: 155.9 kB / 335.8 MB, free: 9.766 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.314, allocations: 4 kB / 335.8 MB, free: 9.762 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/0.3143, allocations: 56.81 kB / 335.9 MB, free: 9.703 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.3145, allocations: 63.89 kB / 336 MB, free: 9.641 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.3162, allocations: 1.491 MB / 337.5 MB, free: 8.016 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.3164, allocations: 47.88 kB / 337.5 MB, free: 7.969 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3165, allocations: 8 kB / 337.5 MB, free: 7.961 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.3165, allocations: 4 kB / 337.5 MB, free: 7.957 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006704/0.3172, allocations: 294.3 kB / 337.8 MB, free: 7.66 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3172, allocations: 0 / 337.8 MB, free: 7.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.666e-05/0.3173, allocations: 24.94 kB / 337.8 MB, free: 7.633 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.3175, allocations: 60.02 kB / 337.9 MB, free: 7.574 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.3185, allocations: 1.381 MB / 339.3 MB, free: 6.059 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.3188, allocations: 39.81 kB / 339.3 MB, free: 6.02 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.3188, allocations: 12 kB / 339.3 MB, free: 6.008 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.319, allocations: 209.1 kB / 339.5 MB, free: 5.793 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.319, allocations: 19.91 kB / 339.5 MB, free: 5.773 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.3191, allocations: 33.78 kB / 339.6 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3191, allocations: 0 / 339.6 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3191, allocations: 0 / 339.6 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3191, allocations: 0 / 339.6 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.3194, allocations: 281.4 kB / 339.8 MB, free: 5.422 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3194, allocations: 0 / 339.8 MB, free: 5.422 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.3196, allocations: 39.97 kB / 339.9 MB, free: 5.383 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001603/0.3198, allocations: 60.75 kB / 339.9 MB, free: 5.32 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.3198, allocations: 4 kB / 340 MB, free: 5.316 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.3212, allocations: 1.491 MB / 341.4 MB, free: 3.688 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3212, allocations: 0 / 341.4 MB, free: 3.688 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.3223, allocations: 461.6 kB / 341.9 MB, free: 3.215 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.3224, allocations: 96.81 kB / 342 MB, free: 3.102 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.3224, allocations: 8 kB / 342 MB, free: 3.094 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.3226, allocations: 31.95 kB / 342 MB, free: 3.062 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.3227, allocations: 24.03 kB / 342.1 MB, free: 3.039 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3228, allocations: 11.94 kB / 342.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.3229, allocations: 176.4 kB / 342.2 MB, free: 2.855 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3229, allocations: 3.938 kB / 342.2 MB, free: 2.852 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004939/0.3234, allocations: 107.7 kB / 342.3 MB, free: 2.746 MB / 270.1 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001496/0.3236, allocations: 95.88 kB / 342.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.3248, allocations: 0.6916 MB / 343.1 MB, free: 1.902 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3249, allocations: 0 / 343.1 MB, free: 1.902 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.3253, allocations: 234.9 kB / 343.4 MB, free: 1.66 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3256, allocations: 36.41 kB / 343.4 MB, free: 1.625 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.3266, allocations: 0.5954 MB / 344 MB, free: 1.008 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3269, allocations: 0.7402 MB / 344.7 MB, free: 248 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.3271, allocations: 25.94 kB / 344.8 MB, free: 220 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.3272, allocations: 15.44 kB / 344.8 MB, free: 204 kB / 270.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3272, allocations: 0 / 344.8 MB, free: 204 kB / 270.1 MB Notification: Performance of Templates: time 0.007423/0.3346, allocations: 3.237 MB / 348 MB, free: 12.96 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)