Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002344/0.002344, allocations: 195 kB / 16.53 MB, free: 6.664 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.656/1.656, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001206/0.001207, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3309, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004199/0.3351, allocations: 2.62 MB / 327.9 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3368, allocations: 0.7028 MB / 328.6 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.3369, allocations: 4.188 kB / 328.6 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.3372, allocations: 38.89 kB / 328.7 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.3374, allocations: 83.39 kB / 328.8 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.3377, allocations: 86.84 kB / 328.9 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.3382, allocations: 326.2 kB / 329.2 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.3384, allocations: 84.89 kB / 329.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.3387, allocations: 130.1 kB / 329.4 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.3389, allocations: 138 kB / 329.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.339, allocations: 28.06 kB / 329.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.679e-05/0.339, allocations: 27.19 kB / 329.6 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.3391, allocations: 61.8 kB / 329.6 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.3393, allocations: 137.4 kB / 329.8 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.3397, allocations: 299 kB / 330.1 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3397, allocations: 1.125 kB / 330.1 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3397, allocations: 4 kB / 330.1 MB, free: 14.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3397, allocations: 0 / 330.1 MB, free: 14.23 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001383/0.3411, allocations: 0.6085 MB / 330.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3412, allocations: 9.938 kB / 330.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.898e-05/0.3413, allocations: 25.81 kB / 330.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.3416, allocations: 270 kB / 331 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.3417, allocations: 20.81 kB / 331 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.3417, allocations: 17.69 kB / 331 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006344/0.3424, allocations: 246 kB / 331.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3424, allocations: 3.984 kB / 331.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.3424, allocations: 10.39 kB / 331.3 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.3425, allocations: 4.375 kB / 331.3 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008116/0.3433, allocations: 246.3 kB / 331.5 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.3448, allocations: 0.8181 MB / 332.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000908/0.3458, allocations: 234.2 kB / 332.6 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.3461, allocations: 95.69 kB / 332.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.3462, allocations: 5.109 kB / 332.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005976/0.3468, allocations: 158.9 kB / 332.8 MB, free: 12.09 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.545e-06/0.3468, allocations: 4 kB / 332.8 MB, free: 12.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001937/0.3487, allocations: 0.5346 MB / 333.3 MB, free: 11.67 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.3488, allocations: 81.11 kB / 333.4 MB, free: 11.57 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.3491, allocations: 240.9 kB / 333.7 MB, free: 11.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.3492, allocations: 25.7 kB / 333.7 MB, free: 11.29 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.3493, allocations: 164.1 kB / 333.8 MB, free: 11.12 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.3494, allocations: 47.3 kB / 333.9 MB, free: 11.08 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.3495, allocations: 45.64 kB / 333.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3497, allocations: 334.8 kB / 334.3 MB, free: 10.69 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.35, allocations: 92.73 kB / 334.4 MB, free: 10.6 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.3503, allocations: 150.7 kB / 334.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006356/0.351, allocations: 242.7 kB / 334.7 MB, free: 10.16 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.351, allocations: 3.938 kB / 334.7 MB, free: 10.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001031/0.352, allocations: 383.7 kB / 335.1 MB, free: 9.77 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.422e-05/0.3521, allocations: 37.7 kB / 335.2 MB, free: 9.727 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3521, allocations: 0 / 335.2 MB, free: 9.727 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004637/0.3526, allocations: 88.75 kB / 335.2 MB, free: 9.637 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.3528, allocations: 59.83 kB / 335.3 MB, free: 9.578 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.3546, allocations: 1.554 MB / 336.9 MB, free: 7.883 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.355, allocations: 43.72 kB / 336.9 MB, free: 7.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.355, allocations: 11.98 kB / 336.9 MB, free: 7.828 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003493/0.3554, allocations: 176.1 kB / 337.1 MB, free: 7.652 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002822/0.3557, allocations: 134.8 kB / 337.2 MB, free: 7.496 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005007/0.3562, allocations: 227.5 kB / 337.4 MB, free: 7.246 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.3562, allocations: 0 / 337.4 MB, free: 7.246 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007125/0.3569, allocations: 306 kB / 337.7 MB, free: 6.934 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.357, allocations: 37.69 kB / 337.8 MB, free: 6.891 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.357, allocations: 0 / 337.8 MB, free: 6.891 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.17e-05/0.357, allocations: 24.84 kB / 337.8 MB, free: 6.863 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.3573, allocations: 52.09 kB / 337.8 MB, free: 6.812 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.3585, allocations: 1.54 MB / 339.4 MB, free: 5.133 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.3589, allocations: 35.81 kB / 339.4 MB, free: 5.098 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3589, allocations: 8 kB / 339.4 MB, free: 5.09 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 (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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.3591, allocations: 196.1 kB / 339.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.3592, allocations: 15.81 kB / 339.6 MB, free: 4.875 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.166e-05/0.3593, allocations: 29.89 kB / 339.7 MB, free: 4.852 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3593, allocations: 0 / 339.7 MB, free: 4.852 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3593, allocations: 0 / 339.7 MB, free: 4.852 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3593, allocations: 96 / 339.7 MB, free: 4.852 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.3597, allocations: 297.3 kB / 340 MB, free: 4.512 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3597, allocations: 0 / 340 MB, free: 4.512 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.3599, allocations: 31.97 kB / 340 MB, free: 4.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.3601, allocations: 48.83 kB / 340 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.3602, allocations: 3.984 kB / 340 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.3619, allocations: 1.55 MB / 341.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3619, allocations: 0 / 341.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.363, allocations: 394.1 kB / 342 MB, free: 2.324 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.3631, allocations: 96.84 kB / 342.1 MB, free: 2.211 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.3631, allocations: 7.938 kB / 342.1 MB, free: 2.203 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3634, allocations: 31.97 kB / 342.1 MB, free: 2.172 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.3635, allocations: 19.97 kB / 342.1 MB, free: 2.152 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3635, allocations: 4 kB / 342.1 MB, free: 2.148 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.3637, allocations: 176.5 kB / 342.3 MB, free: 1.977 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3637, allocations: 0 / 342.3 MB, free: 1.977 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000528/0.3642, allocations: 107.7 kB / 342.4 MB, free: 1.871 MB / 270.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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/0.3644, allocations: 111.3 kB / 342.5 MB, free: 1.754 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.3658, allocations: 0.6492 MB / 343.2 MB, free: 1.055 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3658, allocations: 0 / 343.2 MB, free: 1.055 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004495/0.3663, allocations: 222.5 kB / 343.4 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3667, allocations: 44.67 kB / 343.4 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.3679, allocations: 0.4905 MB / 343.9 MB, free: 272 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.3684, allocations: 0.7402 MB / 344.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.3685, allocations: 25.94 kB / 344.7 MB, free: 15.47 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.3686, allocations: 15.44 kB / 344.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3686, allocations: 4 kB / 344.7 MB, free: 15.45 MB / 286.1 MB Notification: Performance of Templates: time 0.008064/0.3767, allocations: 3.671 MB / 348.4 MB, free: 11.78 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)