Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.00114/0.00114, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001393/0.001393, allocations: 177.3 kB / 15.95 MB, free: 216 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.852/1.852, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005341/0.0005343, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.34, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.006083/0.3462, allocations: 2.189 MB / 328.6 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.3492, allocations: 0.7041 MB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004403/0.3497, allocations: 7.594 kB / 329.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.3498, allocations: 30.31 kB / 329.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004292/0.3503, allocations: 102.4 kB / 329.5 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.3507, allocations: 66.45 kB / 329.6 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005437/0.3513, allocations: 222.2 kB / 329.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.3516, allocations: 72.61 kB / 329.8 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.3519, allocations: 110.4 kB / 330 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.3522, allocations: 128.1 kB / 330.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.887e-05/0.3522, allocations: 15.28 kB / 330.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.42e-05/0.3523, allocations: 14.78 kB / 330.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.706e-05/0.3524, allocations: 51.28 kB / 330.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.3526, allocations: 77.06 kB / 330.2 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.353, allocations: 232.6 kB / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.353, allocations: 0 / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.353, allocations: 0 / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.353, allocations: 0 / 330.5 MB, free: 14.34 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001907/0.3549, allocations: 0.6042 MB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/0.355, allocations: 17.38 kB / 331.1 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.3552, allocations: 38.28 kB / 331.1 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/0.3557, allocations: 267.5 kB / 331.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.3558, allocations: 12.62 kB / 331.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.3559, allocations: 21.28 kB / 331.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.3569, allocations: 256.9 kB / 331.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.3569, allocations: 0 / 331.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.328e-05/0.357, allocations: 18.09 kB / 331.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.357, allocations: 4.094 kB / 331.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.3583, allocations: 289.3 kB / 332 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.361, allocations: 0.8902 MB / 332.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.3625, allocations: 271.7 kB / 333.1 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.3625, allocations: 1.312 kB / 333.1 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008407/0.3634, allocations: 196.2 kB / 333.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 3.196e-06/0.3634, allocations: 0 / 333.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.004114/0.3675, allocations: 0.7099 MB / 334 MB, free: 11.71 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.3677, allocations: 102.8 kB / 334.1 MB, free: 11.59 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.3683, allocations: 266.5 kB / 334.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.3684, allocations: 33.7 kB / 334.4 MB, free: 11.28 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.3686, allocations: 179.8 kB / 334.6 MB, free: 11.1 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.3687, allocations: 43.45 kB / 334.6 MB, free: 11.05 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.3687, allocations: 0 / 334.6 MB, free: 11.05 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3689, allocations: 338.8 kB / 335 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/0.3695, allocations: 107.9 kB / 335.1 MB, free: 10.61 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/0.3702, allocations: 189.2 kB / 335.3 MB, free: 10.39 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006806/0.3709, allocations: 141.7 kB / 335.4 MB, free: 10.25 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3709, allocations: 4 kB / 335.4 MB, free: 10.24 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002134/0.373, allocations: 486.5 kB / 335.9 MB, free: 9.754 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005486/0.3736, allocations: 0.8112 MB / 336.7 MB, free: 8.875 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.3737, allocations: 4 kB / 336.7 MB, free: 8.871 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.3743, allocations: 72.81 kB / 336.8 MB, free: 8.797 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.3747, allocations: 51.91 kB / 336.8 MB, free: 8.746 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004118/0.3788, allocations: 1.834 MB / 338.6 MB, free: 6.773 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/0.3795, allocations: 59.91 kB / 338.7 MB, free: 6.715 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.3796, allocations: 8 kB / 338.7 MB, free: 6.707 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3796, allocations: 7.938 kB / 338.7 MB, free: 6.699 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001434/0.3811, allocations: 346.2 kB / 339.1 MB, free: 6.352 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3811, allocations: 0 / 339.1 MB, free: 6.352 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.3813, allocations: 36.84 kB / 339.1 MB, free: 6.312 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.3816, allocations: 47.91 kB / 339.1 MB, free: 6.266 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.3838, allocations: 1.545 MB / 340.7 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.3844, allocations: 51.88 kB / 340.7 MB, free: 4.539 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.3845, allocations: 12 kB / 340.7 MB, free: 4.527 MB / 270.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 ($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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003351/0.3848, allocations: 220.8 kB / 341 MB, free: 4.301 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/0.3849, allocations: 24.09 kB / 341 MB, free: 4.277 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.148e-05/0.385, allocations: 29.83 kB / 341 MB, free: 4.25 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.385, allocations: 4 kB / 341 MB, free: 4.246 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.385, allocations: 0 / 341 MB, free: 4.246 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3851, allocations: 4 kB / 341 MB, free: 4.242 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.3856, allocations: 289.4 kB / 341.3 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3856, allocations: 4 kB / 341.3 MB, free: 3.906 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.3859, allocations: 31.97 kB / 341.3 MB, free: 3.875 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004082/0.3863, allocations: 72.75 kB / 341.4 MB, free: 3.801 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.3864, allocations: 7.984 kB / 341.4 MB, free: 3.793 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003282/0.3897, allocations: 1.764 MB / 343.2 MB, free: 1.895 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.3897, allocations: 3.953 kB / 343.2 MB, free: 1.891 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.3914, allocations: 373.5 kB / 343.6 MB, free: 1.504 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.3915, allocations: 104.8 kB / 343.7 MB, free: 1.383 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.3916, allocations: 11.98 kB / 343.7 MB, free: 1.371 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.392, allocations: 35.97 kB / 343.7 MB, free: 1.336 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.3921, allocations: 19.97 kB / 343.7 MB, free: 1.316 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3922, allocations: 8 kB / 343.7 MB, free: 1.309 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000336/0.3925, allocations: 186 kB / 343.9 MB, free: 1.125 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3926, allocations: 4 kB / 343.9 MB, free: 1.121 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.001124/0.3937, allocations: 119.8 kB / 344 MB, free: 1.004 MB / 270.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 (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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002283/0.3939, allocations: 107.7 kB / 344.1 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.002813/0.3968, allocations: 0.7994 MB / 344.9 MB, free: 44 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.3968, allocations: 0 / 344.9 MB, free: 44 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009223/0.3977, allocations: 258.7 kB / 345.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.3983, allocations: 48.42 kB / 345.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.4022, allocations: 0.8888 MB / 346.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.4028, allocations: 0.7521 MB / 346.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002815/0.4031, allocations: 26.3 kB / 346.9 MB, free: 14.01 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.616e-05/0.4032, allocations: 19.44 kB / 346.9 MB, free: 13.99 MB / 286.1 MB Notification: Performance of SimCode: time 2.875e-06/0.4033, allocations: 0 / 346.9 MB, free: 13.99 MB / 286.1 MB Notification: Performance of Templates: time 0.01562/0.4189, allocations: 3.717 MB / 350.6 MB, free: 10.27 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) Environment - environmentSimulation: