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.01367/0.01367, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001898/0.001898, allocations: 192.4 kB / 16.67 MB, free: 5.973 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.868/1.868, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.001206, allocations: 47.12 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1124, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004252/0.1167, allocations: 2.598 MB / 375.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1179, allocations: 0.7173 MB / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.1181, allocations: 0 / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.1183, allocations: 43.58 kB / 376.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.1185, allocations: 87.31 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1188, allocations: 83.83 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.1191, allocations: 338.6 kB / 377.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1194, allocations: 84.66 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.1196, allocations: 139.4 kB / 377.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1198, allocations: 143.4 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.1199, allocations: 31.94 kB / 377.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.858e-05/0.1199, allocations: 28 kB / 377.5 MB, free: 13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.12, allocations: 55.81 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.1201, allocations: 135.3 kB / 377.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.1204, allocations: 294.9 kB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1205, allocations: 4 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1205, allocations: 0 / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1205, allocations: 4 kB / 378 MB, free: 12.52 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001162/0.1216, allocations: 0.6142 MB / 378.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1217, allocations: 11.97 kB / 378.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.1218, allocations: 28.66 kB / 378.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.1222, allocations: 267.8 kB / 378.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.1222, allocations: 16.75 kB / 378.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.1222, allocations: 16.38 kB / 378.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.1228, allocations: 240.6 kB / 379.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1228, allocations: 4 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.1229, allocations: 8 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1229, allocations: 4 kB / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/0.1236, allocations: 247.6 kB / 379.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.125, allocations: 0.8014 MB / 380.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/0.1258, allocations: 242.5 kB / 380.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.126, allocations: 88.8 kB / 380.5 MB, free: 9.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1261, allocations: 0 / 380.5 MB, free: 9.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004035/0.1265, allocations: 168.9 kB / 380.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.1265, allocations: 0 / 380.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001547/0.1281, allocations: 0.5341 MB / 381.2 MB, free: 9.027 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.1281, allocations: 85.11 kB / 381.3 MB, free: 8.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.1283, allocations: 241 kB / 381.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1284, allocations: 29.64 kB / 381.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.1285, allocations: 168 kB / 381.7 MB, free: 8.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.1285, allocations: 43.45 kB / 381.8 MB, free: 8.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-05/0.1286, allocations: 41.61 kB / 381.8 MB, free: 8.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1287, allocations: 330.8 kB / 382.1 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.129, allocations: 92.72 kB / 382.2 MB, free: 7.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.1293, allocations: 158.6 kB / 382.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.1298, allocations: 247.4 kB / 382.6 MB, free: 7.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1298, allocations: 0 / 382.6 MB, free: 7.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009113/0.1308, allocations: 387.7 kB / 383 MB, free: 7.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.1308, allocations: 29.7 kB / 383 MB, free: 7.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1308, allocations: 4 kB / 383 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003975/0.1312, allocations: 92.78 kB / 383.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.1314, allocations: 55.78 kB / 383.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.1331, allocations: 1.554 MB / 384.7 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.1334, allocations: 39.84 kB / 384.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.1334, allocations: 8 kB / 384.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002961/0.1337, allocations: 176.1 kB / 384.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002677/0.134, allocations: 134.8 kB / 385.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004707/0.1345, allocations: 235.4 kB / 385.3 MB, free: 4.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.1345, allocations: 0 / 385.3 MB, free: 4.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006464/0.1351, allocations: 307.6 kB / 385.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.1352, allocations: 29.7 kB / 385.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1352, allocations: 4 kB / 385.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.771e-05/0.1352, allocations: 28.97 kB / 385.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.1354, allocations: 55.95 kB / 385.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.1365, allocations: 1.54 MB / 387.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.1367, allocations: 35.91 kB / 387.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1368, allocations: 4 kB / 387.3 MB, free: 2.441 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 (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.0001334/0.1369, allocations: 204.1 kB / 387.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.1369, allocations: 23.81 kB / 387.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.137, allocations: 21.83 kB / 387.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.137, allocations: 4 kB / 387.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.137, allocations: 0 / 387.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.137, allocations: 0 / 387.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.1373, allocations: 285.4 kB / 387.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1373, allocations: 0 / 387.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.1375, allocations: 35.89 kB / 387.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001579/0.1376, allocations: 48.83 kB / 387.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.1377, allocations: 4 kB / 387.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.1391, allocations: 1.547 MB / 389.5 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1391, allocations: 0 / 389.5 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009908/0.1401, allocations: 401.4 kB / 389.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.1402, allocations: 100.9 kB / 390 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.1402, allocations: 7.984 kB / 390 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.1404, allocations: 23.97 kB / 390 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.877e-05/0.1405, allocations: 20.05 kB / 390 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1406, allocations: 7.984 kB / 390 MB, free: 15.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.1407, allocations: 172.5 kB / 390.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1408, allocations: 0 / 390.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.1412, allocations: 107.7 kB / 390.3 MB, free: 15.21 MB / 334.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.0001486/0.1414, allocations: 95.25 kB / 390.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.1427, allocations: 0.6602 MB / 391 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1427, allocations: 8.25 kB / 391.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003949/0.1431, allocations: 211.2 kB / 391.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1435, allocations: 49.17 kB / 391.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1447, allocations: 0.4937 MB / 391.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.145, allocations: 0.7517 MB / 392.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.1451, allocations: 21.95 kB / 392.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.1452, allocations: 23.42 kB / 392.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1452, allocations: 0 / 392.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of Templates: time 0.007812/0.153, allocations: 3.69 MB / 396.3 MB, free: 9.082 MB / 334.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)