Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 97.03 kB / 17.06 MB, free: 6.121 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.001298/0.001299, allocations: 194.9 kB / 17.99 MB, free: 5.199 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.625/1.625, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.001207/0.001207, allocations: 51.92 kB / 327.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1234, allocations: 46.61 MB / 374.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.00409/0.1275, allocations: 2.699 MB / 377.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1289, allocations: 0.7212 MB / 377.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1291, allocations: 4 kB / 377.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1293, allocations: 39.58 kB / 378 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1295, allocations: 95.25 kB / 378.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.1298, allocations: 95.8 kB / 378.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.1302, allocations: 354.5 kB / 378.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.1304, allocations: 84.69 kB / 378.6 MB, free: 440 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1306, allocations: 135.4 kB / 378.7 MB, free: 304 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.1308, allocations: 147.4 kB / 378.9 MB, free: 156 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.1308, allocations: 32 kB / 378.9 MB, free: 124 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.546e-05/0.1309, allocations: 32 kB / 378.9 MB, free: 92 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.131, allocations: 59.77 kB / 379 MB, free: 32 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2759/0.4069, allocations: 147.7 kB / 379.1 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.4074, allocations: 327.8 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4074, allocations: 0.8438 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4074, allocations: 1.031 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4075, allocations: 1.312 kB / 379.5 MB, free: 10.68 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001274/0.4087, allocations: 0.6299 MB / 380.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4088, allocations: 8.75 kB / 380.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.4089, allocations: 31.97 kB / 380.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.4094, allocations: 281.1 kB / 380.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.4094, allocations: 12.94 kB / 380.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.4094, allocations: 21.75 kB / 380.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.4101, allocations: 247.5 kB / 380.7 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.4101, allocations: 8.438 kB / 380.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.4102, allocations: 6.688 kB / 380.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.4102, allocations: 6.625 kB / 380.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007857/0.411, allocations: 257.8 kB / 381 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.4125, allocations: 0.8531 MB / 381.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.4134, allocations: 224.8 kB / 382 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.4137, allocations: 95.16 kB / 382.1 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.4138, allocations: 3.156 kB / 382.1 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005116/0.4143, allocations: 185.3 kB / 382.3 MB, free: 9.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.4143, allocations: 0.5 kB / 382.3 MB, free: 9.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.002061/0.4163, allocations: 0.5982 MB / 382.9 MB, free: 9.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.4164, allocations: 104.8 kB / 383 MB, free: 9.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.4167, allocations: 267 kB / 383.3 MB, free: 9.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.4168, allocations: 32.83 kB / 383.3 MB, free: 9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.4169, allocations: 181.2 kB / 383.5 MB, free: 8.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.4169, allocations: 41.88 kB / 383.5 MB, free: 8.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.272e-05/0.417, allocations: 46.31 kB / 383.6 MB, free: 8.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.4171, allocations: 338.2 kB / 383.9 MB, free: 8.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.4174, allocations: 103.4 kB / 384 MB, free: 8.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.4178, allocations: 170.3 kB / 384.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/0.4184, allocations: 268.1 kB / 384.4 MB, free: 8.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4184, allocations: 0 / 384.4 MB, free: 8.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001095/0.4195, allocations: 434.7 kB / 384.8 MB, free: 8.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.4196, allocations: 34.08 kB / 384.9 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4196, allocations: 2.359 kB / 384.9 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/0.4201, allocations: 117 kB / 385 MB, free: 8.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.4203, allocations: 40.78 kB / 385 MB, free: 8.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.4224, allocations: 1.927 MB / 387 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.4227, allocations: 47.39 kB / 387 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.4228, allocations: 15 kB / 387 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000347/0.4231, allocations: 183.6 kB / 387.2 MB, free: 6.234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000295/0.4234, allocations: 154.6 kB / 387.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005201/0.424, allocations: 250.3 kB / 387.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.424, allocations: 0 / 387.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008028/0.4248, allocations: 353.2 kB / 387.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.4248, allocations: 38.33 kB / 388 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4248, allocations: 1.469 kB / 388 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.425, allocations: 48.09 kB / 388 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.4252, allocations: 41.94 kB / 388.1 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.4264, allocations: 1.717 MB / 389.8 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.4268, allocations: 40.61 kB / 389.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.4268, allocations: 16.81 kB / 389.8 MB, free: 4.102 MB / 318.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: 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 (20): * Single equations (assignments): 18 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.427, allocations: 199.3 kB / 390 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.4271, allocations: 27.03 kB / 390.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.4271, allocations: 22.67 kB / 390.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4271, allocations: 2.281 kB / 390.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4271, allocations: 1.406 kB / 390.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4272, allocations: 0 / 390.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.4275, allocations: 294.2 kB / 390.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4275, allocations: 1.797 kB / 390.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.4277, allocations: 25 kB / 390.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000254/0.4279, allocations: 66.08 kB / 390.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.428, allocations: 1.828 kB / 390.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.4299, allocations: 1.883 MB / 392.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4299, allocations: 1.719 kB / 392.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.4308, allocations: 322.4 kB / 392.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.4309, allocations: 104.2 kB / 392.8 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.4309, allocations: 11.59 kB / 392.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.4311, allocations: 30.36 kB / 392.8 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.271e-05/0.4312, allocations: 19.2 kB / 392.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.4313, allocations: 3.5 kB / 392.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.4315, allocations: 193.3 kB / 393 MB, free: 1.574 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4315, allocations: 3.094 kB / 393 MB, free: 1.574 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006597/0.4321, allocations: 117.6 kB / 393.1 MB, free: 1.559 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.4323, allocations: 109.3 kB / 393.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.4339, allocations: 0.7351 MB / 394 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.434, allocations: 1.406 kB / 394 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.4345, allocations: 235.9 kB / 394.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.4348, allocations: 49.22 kB / 394.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.437, allocations: 0.6926 MB / 395 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.4373, allocations: 0.7515 MB / 395.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.4375, allocations: 27.39 kB / 395.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.4375, allocations: 19.16 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4375, allocations: 0 / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of Templates: time 0.01021/0.4478, allocations: 4.279 MB / 400 MB, free: 15.07 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)