Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001048/0.001048, allocations: 180 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.173/1.173, allocations: 194.4 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001555/0.001555, allocations: 113.8 kB / 256.9 MB, free: 4.383 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 16 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07296/0.07327, allocations: 44.5 MB / 355.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2211/0.2944, allocations: 74.41 MB / 429.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.2946, allocations: 84.27 kB / 429.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01231/0.3069, allocations: 5.155 MB / 434.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3069, allocations: 0 / 434.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.307, allocations: 4 kB / 434.7 MB, free: 10.77 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007562/0.3077, allocations: 0.5767 MB / 435.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.3078, allocations: 12.03 kB / 435.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.3078, allocations: 24.75 kB / 435.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.3081, allocations: 264.9 kB / 435.6 MB, free: 9.855 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3081, allocations: 15.92 kB / 435.6 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.3081, allocations: 19.5 kB / 435.6 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.3086, allocations: 235.8 kB / 435.9 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3086, allocations: 1.688 kB / 435.9 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.3086, allocations: 7.375 kB / 435.9 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3086, allocations: 4 kB / 435.9 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.3091, allocations: 228 kB / 436.1 MB, free: 9.484 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.3103, allocations: 0.8963 MB / 437 MB, free: 8.664 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.3108, allocations: 218 kB / 437.2 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.3109, allocations: 3.953 kB / 437.2 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003382/0.3112, allocations: 176.2 kB / 437.4 MB, free: 8.316 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.3112, allocations: 0 / 437.4 MB, free: 8.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001502/0.3127, allocations: 0.5478 MB / 437.9 MB, free: 7.793 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.3128, allocations: 106.5 kB / 438 MB, free: 7.668 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.3129, allocations: 226.6 kB / 438.3 MB, free: 7.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.313, allocations: 33.14 kB / 438.3 MB, free: 7.445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.313, allocations: 167.1 kB / 438.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3131, allocations: 47.28 kB / 438.5 MB, free: 7.258 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.3131, allocations: 7.875 kB / 438.5 MB, free: 7.254 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.472e-05/0.3131, allocations: 330.3 kB / 438.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.3134, allocations: 93.94 kB / 438.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.3136, allocations: 157.2 kB / 439.1 MB, free: 6.699 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.3139, allocations: 123.8 kB / 439.2 MB, free: 6.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3139, allocations: 0 / 439.2 MB, free: 6.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008254/0.3147, allocations: 395.3 kB / 439.6 MB, free: 6.258 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3147, allocations: 41.64 kB / 439.6 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3147, allocations: 0 / 439.6 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003933/0.3151, allocations: 95.97 kB / 439.7 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3153, allocations: 45.69 kB / 439.8 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.3171, allocations: 1.779 MB / 441.5 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.3173, allocations: 47.16 kB / 441.6 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.3173, allocations: 7.625 kB / 441.6 MB, free: 4.246 MB / 314.7 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 4} Notification: Performance of prepare postOptimizeDAE: time 9.416e-05/0.3174, allocations: 133 kB / 441.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.3175, allocations: 27.78 kB / 441.7 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.3175, allocations: 24.45 kB / 441.8 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3175, allocations: 4 kB / 441.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.3175, allocations: 0 / 441.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3175, allocations: 0 / 441.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.3177, allocations: 287.8 kB / 442.1 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3177, allocations: 3.938 kB / 442.1 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.3179, allocations: 27.97 kB / 442.1 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003219/0.3182, allocations: 92.47 kB / 442.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3182, allocations: 8 kB / 442.2 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.3197, allocations: 1.672 MB / 443.9 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3197, allocations: 4.062 kB / 443.9 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.3204, allocations: 333.7 kB / 444.2 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.3204, allocations: 100.6 kB / 444.3 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.3205, allocations: 4.562 kB / 444.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.3207, allocations: 31.41 kB / 444.3 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.3208, allocations: 27.16 kB / 444.3 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3208, allocations: 15.58 kB / 444.4 MB, free: 1.488 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.3209, allocations: 177.2 kB / 444.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3209, allocations: 0 / 444.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003001/0.3212, allocations: 76.05 kB / 444.6 MB, free: 1.277 MB / 314.7 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 9.667e-05/0.3213, allocations: 102.6 kB / 444.7 MB, free: 1.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.322, allocations: 392 kB / 445.1 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.322, allocations: 0 / 445.1 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.3223, allocations: 230.9 kB / 445.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.3225, allocations: 40.69 kB / 445.4 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.3231, allocations: 496.8 kB / 445.8 MB, free: 96 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.3234, allocations: 0.7482 MB / 446.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.3235, allocations: 21.94 kB / 446.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.3236, allocations: 23.38 kB / 446.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3236, allocations: 5.125 kB / 446.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of Templates: time 0.006063/0.3297, allocations: 3.168 MB / 449.8 MB, free: 12.17 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1)