Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01207/0.01207, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002081/0.002081, allocations: 191.3 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.002353/0.002353, allocations: 51.94 kB / 326.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1521, allocations: 46.61 MB / 373.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.007104/0.1592, allocations: 2.819 MB / 376 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.1623, allocations: 0.7563 MB / 376.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005372/0.1629, allocations: 4 kB / 376.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.1634, allocations: 47.52 kB / 376.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007654/0.1642, allocations: 99.17 kB / 376.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007295/0.165, allocations: 107.8 kB / 377 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000976/0.166, allocations: 390.3 kB / 377.4 MB, free: 308 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.1664, allocations: 96.92 kB / 377.5 MB, free: 212 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004969/0.1669, allocations: 151.4 kB / 377.6 MB, free: 60 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2536/0.4205, allocations: 160.6 kB / 377.8 MB, free: 10 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.4207, allocations: 32.22 kB / 377.8 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.4208, allocations: 31.84 kB / 377.9 MB, free: 10 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.4209, allocations: 71.16 kB / 377.9 MB, free: 10 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.4212, allocations: 161.2 kB / 378.1 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005753/0.4218, allocations: 359.8 kB / 378.4 MB, free: 9.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4218, allocations: 3.844 kB / 378.4 MB, free: 9.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4218, allocations: 0 / 378.4 MB, free: 9.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4218, allocations: 4.281 kB / 378.4 MB, free: 9.953 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001228/0.4231, allocations: 0.6644 MB / 379.1 MB, free: 9.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4231, allocations: 10.42 kB / 379.1 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.4232, allocations: 33.06 kB / 379.2 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.4236, allocations: 284 kB / 379.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.4236, allocations: 19.38 kB / 379.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.4237, allocations: 24.66 kB / 379.5 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.4243, allocations: 264.6 kB / 379.7 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4243, allocations: 3.938 kB / 379.7 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.4243, allocations: 9.562 kB / 379.7 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.4244, allocations: 9 kB / 379.8 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007794/0.4251, allocations: 271 kB / 380 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.4268, allocations: 0.8792 MB / 380.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/0.4276, allocations: 352 kB / 381.2 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.428, allocations: 133.5 kB / 381.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.428, allocations: 4.5 kB / 381.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004813/0.4285, allocations: 192.9 kB / 381.6 MB, free: 8.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.883e-06/0.4285, allocations: 4 kB / 381.6 MB, free: 8.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001819/0.4303, allocations: 0.5735 MB / 382.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.4304, allocations: 113.2 kB / 382.3 MB, free: 8.324 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.4307, allocations: 265.6 kB / 382.5 MB, free: 8.219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.4308, allocations: 32.95 kB / 382.5 MB, free: 8.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.4309, allocations: 175.6 kB / 382.7 MB, free: 8.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.431, allocations: 62.94 kB / 382.8 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.309e-05/0.4311, allocations: 46.44 kB / 382.8 MB, free: 8.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.4311, allocations: 343.8 kB / 383.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.4315, allocations: 103.7 kB / 383.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.4318, allocations: 169.5 kB / 383.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.4324, allocations: 279.2 kB / 383.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4324, allocations: 1.312 kB / 383.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009567/0.4334, allocations: 418.1 kB / 384.1 MB, free: 7.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.4334, allocations: 36.61 kB / 384.1 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4334, allocations: 2.219 kB / 384.1 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003965/0.4338, allocations: 94.72 kB / 384.2 MB, free: 7.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.4341, allocations: 65.33 kB / 384.3 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.4354, allocations: 1.547 MB / 385.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.4358, allocations: 51.28 kB / 385.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.4358, allocations: 16.81 kB / 385.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003463/0.4362, allocations: 193.5 kB / 386.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003012/0.4365, allocations: 162.5 kB / 386.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005079/0.437, allocations: 256.8 kB / 386.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.512e-06/0.437, allocations: 0 / 386.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.000666/0.4377, allocations: 348.5 kB / 386.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.4377, allocations: 33.14 kB / 386.9 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.4377, allocations: 1.812 kB / 386.9 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.493e-05/0.4378, allocations: 27.66 kB / 386.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.438, allocations: 57.02 kB / 387 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007029/0.4387, allocations: 1.55 MB / 388.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.439, allocations: 47.45 kB / 388.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.4391, allocations: 6.875 kB / 388.6 MB, free: 3.762 MB / 318.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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.4392, allocations: 199.6 kB / 388.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.4392, allocations: 27.72 kB / 388.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.4393, allocations: 32.19 kB / 388.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4393, allocations: 2.219 kB / 388.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4393, allocations: 0 / 388.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4393, allocations: 1.172 kB / 388.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.4406, allocations: 0.7077 MB / 389.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4406, allocations: 1.125 kB / 389.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.4408, allocations: 40.97 kB / 389.6 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.441, allocations: 58.73 kB / 389.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.441, allocations: 3.703 kB / 389.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.4422, allocations: 1.55 MB / 391.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4422, allocations: 4.062 kB / 391.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.4433, allocations: 0.5058 MB / 391.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.4434, allocations: 106 kB / 391.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.4434, allocations: 6.25 kB / 391.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.4437, allocations: 30.31 kB / 391.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.4438, allocations: 23.8 kB / 391.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.4438, allocations: 6.891 kB / 391.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.4439, allocations: 189.4 kB / 392.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.444, allocations: 0 / 392.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005827/0.4445, allocations: 134.8 kB / 392.2 MB, free: 1.109 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001569/0.4447, allocations: 104.9 kB / 392.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.4459, allocations: 0.7064 MB / 393 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.446, allocations: 0 / 393 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.4463, allocations: 239.9 kB / 393.2 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.4468, allocations: 55.77 kB / 393.3 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4478, allocations: 0.5505 MB / 393.8 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.4482, allocations: 0.7579 MB / 394.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.4483, allocations: 34.7 kB / 394.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.4484, allocations: 20.41 kB / 394.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4484, allocations: 1.094 kB / 394.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Templates: time 0.009985/0.4584, allocations: 4.292 MB / 398.9 MB, free: 14.61 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)