Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.009506/0.009506, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001656/0.001656, allocations: 193.2 kB / 16.67 MB, free: 5.52 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.79/1.79, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001382/0.001382, allocations: 51.94 kB / 326.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1282, allocations: 46.61 MB / 373.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.006533/0.1348, allocations: 2.699 MB / 375.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.1371, allocations: 0.7251 MB / 376.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004678/0.1376, allocations: 4 kB / 376.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.138, allocations: 39.58 kB / 376.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005144/0.1386, allocations: 99.19 kB / 376.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.1391, allocations: 87.89 kB / 376.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005519/0.1396, allocations: 362.4 kB / 377.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.1399, allocations: 80.7 kB / 377.3 MB, free: 456 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.1402, allocations: 143.4 kB / 377.4 MB, free: 312 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1404, allocations: 147.3 kB / 377.6 MB, free: 164 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.1405, allocations: 28 kB / 377.6 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.606e-05/0.1405, allocations: 32 kB / 377.6 MB, free: 104 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.1406, allocations: 59.81 kB / 377.7 MB, free: 44 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2755/0.4161, allocations: 146.9 kB / 377.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.4168, allocations: 321.8 kB / 378.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4168, allocations: 1.062 kB / 378.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4168, allocations: 0 / 378.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.4168, allocations: 0 / 378.1 MB, free: 10.12 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.001186/0.418, allocations: 0.6389 MB / 378.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4181, allocations: 10.41 kB / 378.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.211e-05/0.4181, allocations: 30.94 kB / 378.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.4186, allocations: 277.3 kB / 379.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.4186, allocations: 15.91 kB / 379.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.4186, allocations: 20.56 kB / 379.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/0.4192, allocations: 246.4 kB / 379.4 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4193, allocations: 6.594 kB / 379.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.4193, allocations: 8.969 kB / 379.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.4193, allocations: 7.469 kB / 379.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007213/0.42, allocations: 255.3 kB / 379.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.4217, allocations: 0.8536 MB / 380.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/0.4224, allocations: 226.4 kB / 380.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.4228, allocations: 100.1 kB / 380.8 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.4228, allocations: 5.453 kB / 380.8 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004336/0.4232, allocations: 178.5 kB / 381 MB, free: 8.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.4233, allocations: 0 / 381 MB, free: 8.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001839/0.4251, allocations: 0.5886 MB / 381.6 MB, free: 8.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.4252, allocations: 114.9 kB / 381.7 MB, free: 8.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.4254, allocations: 256.8 kB / 381.9 MB, free: 8.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.4255, allocations: 31.2 kB / 382 MB, free: 8.441 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.4256, allocations: 179.8 kB / 382.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.4256, allocations: 43.64 kB / 382.2 MB, free: 8.293 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/0.4257, allocations: 46.91 kB / 382.2 MB, free: 8.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.4258, allocations: 338.1 kB / 382.6 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.4261, allocations: 101.5 kB / 382.7 MB, free: 7.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.4264, allocations: 179.8 kB / 382.8 MB, free: 7.852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.427, allocations: 264.6 kB / 383.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.427, allocations: 1.156 kB / 383.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009912/0.428, allocations: 430.9 kB / 383.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.428, allocations: 39.47 kB / 383.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.4281, allocations: 2.078 kB / 383.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004826/0.4285, allocations: 112.2 kB / 383.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.4287, allocations: 38.19 kB / 383.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.4306, allocations: 1.934 MB / 385.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.431, allocations: 50.58 kB / 385.7 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.431, allocations: 11.2 kB / 385.7 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003181/0.4313, allocations: 178.8 kB / 385.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002844/0.4316, allocations: 158 kB / 386 MB, free: 5.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004918/0.4321, allocations: 249.2 kB / 386.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.4321, allocations: 1.125 kB / 386.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007375/0.4329, allocations: 353.7 kB / 386.6 MB, free: 5.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.4329, allocations: 34.09 kB / 386.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.4329, allocations: 2.344 kB / 386.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.4331, allocations: 50.2 kB / 386.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.4332, allocations: 43.28 kB / 386.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.4343, allocations: 1.719 MB / 388.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.4346, allocations: 44.95 kB / 388.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.4347, allocations: 14.88 kB / 388.5 MB, free: 3.84 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.0001241/0.4348, allocations: 194.9 kB / 388.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.4349, allocations: 23.44 kB / 388.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.4349, allocations: 30.38 kB / 388.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4349, allocations: 4.531 kB / 388.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.4349, allocations: 0 / 388.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4349, allocations: 2.344 kB / 388.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.4352, allocations: 294.7 kB / 389.1 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4352, allocations: 0.875 kB / 389.1 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.4354, allocations: 33.05 kB / 389.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.4356, allocations: 61.48 kB / 389.1 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.4356, allocations: 6.297 kB / 389.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.4372, allocations: 1.867 MB / 391 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4372, allocations: 4.859 kB / 391 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.438, allocations: 323.9 kB / 391.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.438, allocations: 100.7 kB / 391.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.4381, allocations: 9.984 kB / 391.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.4383, allocations: 30.41 kB / 391.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.4384, allocations: 24.83 kB / 391.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.4384, allocations: 4.922 kB / 391.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000172/0.4386, allocations: 187.3 kB / 391.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4386, allocations: 5.125 kB / 391.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006037/0.4392, allocations: 120.7 kB / 391.8 MB, free: 1.297 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.0001192/0.4393, allocations: 102.2 kB / 391.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.4407, allocations: 0.7393 MB / 392.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4408, allocations: 4.312 kB / 392.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004018/0.4412, allocations: 232.6 kB / 392.9 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.4415, allocations: 43.42 kB / 392.9 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.4434, allocations: 0.6939 MB / 393.6 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.4437, allocations: 0.7485 MB / 394.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.4438, allocations: 32.2 kB / 394.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.4439, allocations: 18.91 kB / 394.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4439, allocations: 0 / 394.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of Templates: time 0.01079/0.4547, allocations: 4.281 MB / 398.7 MB, free: 14.86 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)