Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 99.23 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.001479/0.001479, allocations: 177.3 kB / 15.94 MB, free: 228 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.876/1.876, allocations: 205.4 MB / 222.1 MB, free: 5.488 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.0005489/0.0005489, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3087, allocations: 47.59 MB / 326.4 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003044/0.3118, allocations: 2.219 MB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3133, allocations: 0.6659 MB / 329.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.3135, allocations: 4.469 kB / 329.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.737e-05/0.3136, allocations: 35.09 kB / 329.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.314, allocations: 103.6 kB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.3142, allocations: 68.52 kB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.3146, allocations: 238.7 kB / 329.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.3149, allocations: 99.48 kB / 329.9 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.3151, allocations: 128.7 kB / 330 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.3153, allocations: 140.1 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.3154, allocations: 17.81 kB / 330.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.803e-05/0.3154, allocations: 17.34 kB / 330.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.181e-05/0.3155, allocations: 51.66 kB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.384e-05/0.3156, allocations: 81.58 kB / 330.3 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.3159, allocations: 271.2 kB / 330.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.3159, allocations: 4 kB / 330.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3159, allocations: 0 / 330.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.3159, allocations: 1.344 kB / 330.6 MB, free: 14.28 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001301/0.3172, allocations: 0.6221 MB / 331.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.3173, allocations: 9.281 kB / 331.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.713e-05/0.3174, allocations: 31.56 kB / 331.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.3178, allocations: 266.3 kB / 331.5 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.3178, allocations: 27.02 kB / 331.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.3179, allocations: 24.16 kB / 331.5 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/0.3186, allocations: 304.9 kB / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3186, allocations: 4 kB / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.3187, allocations: 11.19 kB / 331.9 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.3187, allocations: 5.156 kB / 331.9 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008265/0.3195, allocations: 272.8 kB / 332.1 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.3215, allocations: 1.113 MB / 333.2 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/0.3224, allocations: 247.4 kB / 333.5 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.3224, allocations: 2.438 kB / 333.5 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005639/0.323, allocations: 180 kB / 333.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 2.174e-06/0.323, allocations: 0 / 333.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.002259/0.3253, allocations: 0.5435 MB / 334.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.3254, allocations: 106.8 kB / 334.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.3257, allocations: 278.7 kB / 334.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.3258, allocations: 25.7 kB / 334.6 MB, free: 11.01 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.3259, allocations: 211.4 kB / 334.8 MB, free: 10.8 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.326, allocations: 35.45 kB / 334.8 MB, free: 10.76 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.326, allocations: 4 kB / 334.8 MB, free: 10.76 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3262, allocations: 338.8 kB / 335.2 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.3265, allocations: 100.2 kB / 335.3 MB, free: 10.32 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.3269, allocations: 218 kB / 335.5 MB, free: 10.06 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.3273, allocations: 141.7 kB / 335.6 MB, free: 9.914 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3273, allocations: 3.938 kB / 335.6 MB, free: 9.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001217/0.3285, allocations: 459.6 kB / 336.1 MB, free: 9.445 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.3286, allocations: 37.69 kB / 336.1 MB, free: 9.402 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3286, allocations: 0 / 336.1 MB, free: 9.402 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/0.3289, allocations: 64.81 kB / 336.2 MB, free: 9.336 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.3292, allocations: 63.98 kB / 336.2 MB, free: 9.273 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.3318, allocations: 1.617 MB / 337.9 MB, free: 7.523 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.3322, allocations: 59.72 kB / 337.9 MB, free: 7.465 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.3323, allocations: 16 kB / 337.9 MB, free: 7.449 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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.0002091/0.3325, allocations: 145.8 kB / 338.1 MB, free: 7.297 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.3325, allocations: 23.72 kB / 338.1 MB, free: 7.273 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.3326, allocations: 25.7 kB / 338.1 MB, free: 7.25 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3326, allocations: 4 kB / 338.1 MB, free: 7.246 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3326, allocations: 0 / 338.1 MB, free: 7.246 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3326, allocations: 7.953 kB / 338.1 MB, free: 7.238 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.333, allocations: 305.3 kB / 338.4 MB, free: 6.891 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.333, allocations: 0 / 338.4 MB, free: 6.891 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.3331, allocations: 19.98 kB / 338.5 MB, free: 6.871 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002784/0.3334, allocations: 76.73 kB / 338.5 MB, free: 6.793 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.3334, allocations: 320 / 338.5 MB, free: 6.793 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.3358, allocations: 1.593 MB / 340.1 MB, free: 5.066 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3358, allocations: 4.031 kB / 340.1 MB, free: 5.062 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3369, allocations: 345.8 kB / 340.5 MB, free: 4.703 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.337, allocations: 116.7 kB / 340.6 MB, free: 4.57 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.3371, allocations: 7.984 kB / 340.6 MB, free: 4.562 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.3373, allocations: 35.97 kB / 340.6 MB, free: 4.527 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3375, allocations: 19.97 kB / 340.6 MB, free: 4.508 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3375, allocations: 7.984 kB / 340.6 MB, free: 4.5 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.3377, allocations: 198 kB / 340.8 MB, free: 4.309 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3377, allocations: 4 kB / 340.8 MB, free: 4.305 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004279/0.3382, allocations: 79.84 kB / 340.9 MB, free: 4.227 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 (7): * Single equations (assignments): 4 * 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.0001822/0.3384, allocations: 103.2 kB / 341 MB, free: 4.113 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.3395, allocations: 442 kB / 341.5 MB, free: 3.656 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3395, allocations: 0 / 341.5 MB, free: 3.656 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.34, allocations: 231.1 kB / 341.7 MB, free: 3.418 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.3403, allocations: 32.81 kB / 341.7 MB, free: 3.383 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3415, allocations: 0.5471 MB / 342.3 MB, free: 2.812 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.342, allocations: 0.7599 MB / 343 MB, free: 2.027 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.3421, allocations: 26.28 kB / 343 MB, free: 2.004 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.3421, allocations: 19.44 kB / 343.1 MB, free: 1.984 MB / 270.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3422, allocations: 0 / 343.1 MB, free: 1.984 MB / 270.1 MB Notification: Performance of Templates: time 0.008486/0.3506, allocations: 3.636 MB / 346.7 MB, free: 14.35 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) Environment - environmentSimulation: