Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.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.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001034, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008957/0.0008958, allocations: 172.7 kB / 15.95 MB, free: 208 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.968/1.968, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.0005475/0.0005478, allocations: 8 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3345, allocations: 47.59 MB / 326.5 MB, free: 1.645 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.003195/0.3378, allocations: 2.303 MB / 328.8 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3396, allocations: 0.6813 MB / 329.5 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.3399, allocations: 3.125 kB / 329.5 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.3401, allocations: 32.53 kB / 329.5 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.3403, allocations: 75.45 kB / 329.6 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.3406, allocations: 66.98 kB / 329.6 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.3412, allocations: 312.7 kB / 330 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.3415, allocations: 69.64 kB / 330 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.3418, allocations: 111.7 kB / 330.1 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.342, allocations: 130.8 kB / 330.3 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.3421, allocations: 15.06 kB / 330.3 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.3421, allocations: 15.38 kB / 330.3 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.3422, allocations: 46.48 kB / 330.3 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.3424, allocations: 77.42 kB / 330.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.3427, allocations: 236.8 kB / 330.6 MB, free: 14.47 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3427, allocations: 1.125 kB / 330.6 MB, free: 14.47 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.3428, allocations: 0 / 330.6 MB, free: 14.47 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3428, allocations: 0 / 330.6 MB, free: 14.47 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.001419/0.3442, allocations: 0.6084 MB / 331.2 MB, free: 13.93 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.3443, allocations: 17.72 kB / 331.3 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.3444, allocations: 30.44 kB / 331.3 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.3448, allocations: 267.1 kB / 331.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.3449, allocations: 17.53 kB / 331.6 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.3449, allocations: 20.67 kB / 331.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007393/0.3457, allocations: 262.5 kB / 331.9 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3457, allocations: 0 / 331.9 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.3457, allocations: 5.5 kB / 331.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3458, allocations: 4.938 kB / 331.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008212/0.3466, allocations: 296.1 kB / 332.1 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.3485, allocations: 0.8823 MB / 333 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007454/0.3492, allocations: 269.3 kB / 333.3 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.3496, allocations: 114.7 kB / 333.4 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.3496, allocations: 9.781 kB / 333.4 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005197/0.3501, allocations: 193.6 kB / 333.6 MB, free: 12.27 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.3502, allocations: 0 / 333.6 MB, free: 12.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.002082/0.3522, allocations: 0.703 MB / 334.3 MB, free: 11.55 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.3524, allocations: 114.8 kB / 334.4 MB, free: 11.41 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.3528, allocations: 253 kB / 334.7 MB, free: 11.16 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.3528, allocations: 29.7 kB / 334.7 MB, free: 11.12 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.3531, allocations: 175.8 kB / 334.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.3531, allocations: 47.44 kB / 334.9 MB, free: 10.9 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.3531, allocations: 0 / 334.9 MB, free: 10.9 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.3534, allocations: 338.8 kB / 335.2 MB, free: 10.56 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.3537, allocations: 103.9 kB / 335.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.3541, allocations: 175.6 kB / 335.5 MB, free: 10.26 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.3545, allocations: 133.7 kB / 335.6 MB, free: 10.12 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3545, allocations: 0 / 335.6 MB, free: 10.12 MB / 270.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001241/0.3557, allocations: 470.8 kB / 336.1 MB, free: 9.648 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002197/0.356, allocations: 171.8 kB / 336.3 MB, free: 9.449 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.356, allocations: 0 / 336.3 MB, free: 9.449 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004252/0.3564, allocations: 76.81 kB / 336.4 MB, free: 9.371 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.3567, allocations: 43.91 kB / 336.4 MB, free: 9.328 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.3593, allocations: 1.744 MB / 338.1 MB, free: 7.445 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.3597, allocations: 59.88 kB / 338.2 MB, free: 7.387 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.3597, allocations: 7.984 kB / 338.2 MB, free: 7.379 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.3597, allocations: 4 kB / 338.2 MB, free: 7.375 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007008/0.3604, allocations: 318.3 kB / 338.5 MB, free: 7.055 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3604, allocations: 4 kB / 338.5 MB, free: 7.051 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.3606, allocations: 40.78 kB / 338.6 MB, free: 7.008 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.3607, allocations: 43.92 kB / 338.6 MB, free: 6.965 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.362, allocations: 1.534 MB / 340.1 MB, free: 5.297 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.3624, allocations: 47.88 kB / 340.2 MB, free: 5.25 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.3624, allocations: 8 kB / 340.2 MB, free: 5.242 MB / 270.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 ($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 (18): * Single equations (assignments): 16 * 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.0003559/0.3627, allocations: 216.8 kB / 340.4 MB, free: 5.02 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.3628, allocations: 27.67 kB / 340.4 MB, free: 4.992 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.3629, allocations: 21.83 kB / 340.5 MB, free: 4.973 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3629, allocations: 8 kB / 340.5 MB, free: 4.965 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3629, allocations: 192 / 340.5 MB, free: 4.965 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3629, allocations: 0 / 340.5 MB, free: 4.965 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.3632, allocations: 293.5 kB / 340.7 MB, free: 4.629 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3633, allocations: 0 / 340.7 MB, free: 4.629 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.3634, allocations: 35.92 kB / 340.8 MB, free: 4.594 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/0.3637, allocations: 80.73 kB / 340.9 MB, free: 4.512 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3637, allocations: 3.938 kB / 340.9 MB, free: 4.508 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.3655, allocations: 1.644 MB / 342.5 MB, free: 2.734 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3656, allocations: 0 / 342.5 MB, free: 2.734 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008408/0.3664, allocations: 365.5 kB / 342.9 MB, free: 2.355 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.3665, allocations: 104.8 kB / 343 MB, free: 2.234 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.3666, allocations: 0 / 343 MB, free: 2.234 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.3668, allocations: 48.14 kB / 343 MB, free: 2.188 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/0.3669, allocations: 19.97 kB / 343 MB, free: 2.168 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.367, allocations: 11.95 kB / 343 MB, free: 2.156 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.3672, allocations: 180.5 kB / 343.2 MB, free: 1.984 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.3672, allocations: 0 / 343.2 MB, free: 1.984 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000679/0.3679, allocations: 131.6 kB / 343.4 MB, free: 1.855 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.0001613/0.368, allocations: 103.2 kB / 343.5 MB, free: 1.742 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.3696, allocations: 0.7294 MB / 344.2 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.3696, allocations: 4 kB / 344.2 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.3701, allocations: 242.8 kB / 344.4 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.3705, allocations: 44.53 kB / 344.5 MB, free: 0.668 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.3717, allocations: 0.5215 MB / 345 MB, free: 120 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.3721, allocations: 0.756 MB / 345.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000155/0.3723, allocations: 22.3 kB / 345.8 MB, free: 15.31 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.3723, allocations: 19.44 kB / 345.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3724, allocations: 0 / 345.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of Templates: time 0.009779/0.3821, allocations: 3.76 MB / 349.5 MB, free: 11.53 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1)