Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001285, allocations: 110 kB / 17.06 MB, free: 6.023 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.001194/0.001194, allocations: 191 kB / 18 MB, free: 5.105 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.769/1.769, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.001401/0.001401, allocations: 63.91 kB / 327.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.178, allocations: 46.61 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00579/0.1839, allocations: 2.811 MB / 377.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.186, allocations: 0.7563 MB / 378.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.1863, allocations: 4 kB / 378.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.1866, allocations: 51.56 kB / 378.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.1869, allocations: 95.12 kB / 378.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.1874, allocations: 103.8 kB / 378.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000594/0.188, allocations: 390.3 kB / 378.7 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.1883, allocations: 92.92 kB / 378.8 MB, free: 232 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.1886, allocations: 147.4 kB / 379 MB, free: 84 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4048/0.5934, allocations: 161.7 kB / 379.1 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.5937, allocations: 32.53 kB / 379.1 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.5938, allocations: 31.06 kB / 379.2 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.594, allocations: 71.17 kB / 379.2 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.5943, allocations: 161.6 kB / 379.4 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007904/0.5951, allocations: 356.3 kB / 379.7 MB, free: 9.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.5951, allocations: 2.438 kB / 379.7 MB, free: 9.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5951, allocations: 0 / 379.7 MB, free: 9.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.5951, allocations: 0 / 379.7 MB, free: 9.945 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001643/0.5968, allocations: 0.6609 MB / 380.4 MB, free: 9.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.5969, allocations: 9.875 kB / 380.4 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.597, allocations: 34.67 kB / 380.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.5975, allocations: 290.2 kB / 380.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.5976, allocations: 21.8 kB / 380.8 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/0.5976, allocations: 22.88 kB / 380.8 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.5984, allocations: 263.4 kB / 381 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.5984, allocations: 3.938 kB / 381 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.5984, allocations: 7.609 kB / 381 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.5985, allocations: 13.47 kB / 381.1 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009439/0.5994, allocations: 269 kB / 381.3 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.6015, allocations: 0.9001 MB / 382.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.6025, allocations: 239.6 kB / 382.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.6029, allocations: 102.2 kB / 382.6 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.603, allocations: 12.2 kB / 382.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005541/0.6036, allocations: 184.9 kB / 382.8 MB, free: 8.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.6036, allocations: 1.156 kB / 382.8 MB, free: 8.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002507/0.6061, allocations: 0.6122 MB / 383.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.6062, allocations: 111.3 kB / 383.5 MB, free: 8.375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.6066, allocations: 265 kB / 383.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.6066, allocations: 33.52 kB / 383.8 MB, free: 8.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.6068, allocations: 184.6 kB / 383.9 MB, free: 8.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.168e-05/0.6069, allocations: 54.38 kB / 384 MB, free: 8.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-05/0.607, allocations: 49.7 kB / 384 MB, free: 8.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6071, allocations: 333.2 kB / 384.4 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.6075, allocations: 103.1 kB / 384.5 MB, free: 7.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.6079, allocations: 168.2 kB / 384.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/0.6086, allocations: 263.1 kB / 384.9 MB, free: 7.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6086, allocations: 1.344 kB / 384.9 MB, free: 7.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001237/0.6098, allocations: 436.3 kB / 385.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.853e-05/0.6099, allocations: 32.81 kB / 385.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6099, allocations: 5.719 kB / 385.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006394/0.6106, allocations: 108.8 kB / 385.5 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.6109, allocations: 44.16 kB / 385.5 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.6133, allocations: 1.888 MB / 387.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.6136, allocations: 51.2 kB / 387.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.6137, allocations: 7.688 kB / 387.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004143/0.6141, allocations: 190.7 kB / 387.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003704/0.6145, allocations: 149.7 kB / 387.8 MB, free: 5.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000634/0.6151, allocations: 240.5 kB / 388 MB, free: 5.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.6151, allocations: 5.156 kB / 388 MB, free: 5.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0009222/0.6161, allocations: 350.8 kB / 388.4 MB, free: 5.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.6161, allocations: 36.86 kB / 388.4 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6161, allocations: 6.484 kB / 388.4 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.6163, allocations: 42.12 kB / 388.5 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.6165, allocations: 50.75 kB / 388.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.6181, allocations: 1.724 MB / 390.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.6184, allocations: 43.64 kB / 390.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.6185, allocations: 7.938 kB / 390.3 MB, free: 3.566 MB / 318.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 (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 (21): * Single equations (assignments): 19 * 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.0001731/0.6186, allocations: 203.8 kB / 390.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.6187, allocations: 22.47 kB / 390.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.6188, allocations: 27.3 kB / 390.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6188, allocations: 2.219 kB / 390.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.829e-05/0.6188, allocations: 0.5156 kB / 390.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.6188, allocations: 1.969 kB / 390.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.6193, allocations: 308 kB / 390.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.6193, allocations: 4 kB / 390.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.6195, allocations: 34.34 kB / 390.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002642/0.6198, allocations: 60.53 kB / 390.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.6198, allocations: 6.75 kB / 390.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.6217, allocations: 1.718 MB / 392.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6217, allocations: 0 / 392.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.623, allocations: 448 kB / 393.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.6231, allocations: 97.28 kB / 393.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.6231, allocations: 7.141 kB / 393.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.6234, allocations: 25.56 kB / 393.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.6235, allocations: 28.58 kB / 393.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.6236, allocations: 5.078 kB / 393.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.6238, allocations: 197.9 kB / 393.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6238, allocations: 0 / 393.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007023/0.6246, allocations: 133.4 kB / 393.6 MB, free: 1.117 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * 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.000218/0.6248, allocations: 108.2 kB / 393.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.6266, allocations: 0.716 MB / 394.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.6266, allocations: 1.812 kB / 394.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.6272, allocations: 247.4 kB / 394.6 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.6276, allocations: 51.22 kB / 394.7 MB, free: 396 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.6291, allocations: 0.5365 MB / 395.2 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.6296, allocations: 0.7601 MB / 396 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.6298, allocations: 26.62 kB / 396 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.097e-05/0.6298, allocations: 20.09 kB / 396 MB, free: 15.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.6298, allocations: 0 / 396 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Templates: time 0.01352/0.6434, allocations: 4.544 MB / 400.6 MB, free: 14.46 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)