Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.LCOscillator,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000845/0.0008451, allocations: 92.67 kB / 16.65 MB, free: 6.59 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.000907/0.0009073, allocations: 183.2 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0005174/0.0005174, allocations: 20 kB / 280.8 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1216, allocations: 47.58 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003168/0.1248, allocations: 2.358 MB / 330.7 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.126, allocations: 0.7061 MB / 331.4 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.1262, allocations: 4 kB / 331.4 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.1264, allocations: 35.69 kB / 331.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.1266, allocations: 75.44 kB / 331.5 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.1269, allocations: 75.92 kB / 331.6 MB, free: 480 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.1273, allocations: 330.5 kB / 331.9 MB, free: 148 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.1276, allocations: 86.27 kB / 332 MB, free: 68 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.1278, allocations: 115.6 kB / 332.1 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.128, allocations: 127.4 kB / 332.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.128, allocations: 12 kB / 332.2 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.161e-05/0.1281, allocations: 16 kB / 332.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.794e-05/0.1281, allocations: 47.77 kB / 332.3 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.1283, allocations: 153 kB / 332.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.1286, allocations: 299 kB / 332.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1286, allocations: 7.938 kB / 332.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1286, allocations: 0 / 332.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1287, allocations: 0 / 332.7 MB, free: 15.3 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001147/0.1298, allocations: 0.542 MB / 333.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.1299, allocations: 8.031 kB / 333.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.524e-05/0.13, allocations: 36.56 kB / 333.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.1304, allocations: 263.8 kB / 333.6 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.1305, allocations: 16.94 kB / 333.6 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.1306, allocations: 28.38 kB / 333.6 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/0.1312, allocations: 249.1 kB / 333.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1312, allocations: 3.938 kB / 333.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.1312, allocations: 12 kB / 333.9 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1312, allocations: 8 kB / 333.9 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.1319, allocations: 226.1 kB / 334.1 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.1338, allocations: 0.9368 MB / 335.1 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.1343, allocations: 198.5 kB / 335.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/0.1348, allocations: 160.8 kB / 335.4 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.1348, allocations: 0 / 335.4 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.1349, allocations: 34.56 kB / 335.4 MB, free: 12.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.072e-06/0.1349, allocations: 0 / 335.4 MB, free: 12.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001792/0.1367, allocations: 0.6241 MB / 336.1 MB, free: 11.76 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1367, allocations: 55.34 kB / 336.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.137, allocations: 228.2 kB / 336.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1371, allocations: 25.7 kB / 336.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1372, allocations: 183.8 kB / 336.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.1373, allocations: 63.09 kB / 336.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.1374, allocations: 25.72 kB / 336.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.1376, allocations: 330.8 kB / 337 MB, free: 10.81 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.1377, allocations: 67.97 kB / 337 MB, free: 10.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.138, allocations: 118 kB / 337.1 MB, free: 10.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.1384, allocations: 197.8 kB / 337.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.1384, allocations: 4 kB / 337.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008732/0.1393, allocations: 373.7 kB / 337.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.1394, allocations: 134.2 kB / 337.8 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.1395, allocations: 0 / 337.8 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.1401, allocations: 148.7 kB / 338 MB, free: 9.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1403, allocations: 51.84 kB / 338 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.1432, allocations: 1.803 MB / 339.8 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.1434, allocations: 35.78 kB / 339.9 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.1434, allocations: 15.98 kB / 339.9 MB, free: 7.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.1434, allocations: 4 kB / 339.9 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003967/0.1438, allocations: 208.4 kB / 340.1 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.1438, allocations: 0 / 340.1 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000101/0.1439, allocations: 37.03 kB / 340.1 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1441, allocations: 55.91 kB / 340.2 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.1454, allocations: 1.53 MB / 341.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1455, allocations: 15.84 kB / 341.7 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1456, allocations: 8 kB / 341.7 MB, free: 5.68 MB / 286.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0002237/0.1458, allocations: 221 kB / 341.9 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.1458, allocations: 23.66 kB / 342 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.1459, allocations: 25.94 kB / 342 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1459, allocations: 4.188 kB / 342 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.1459, allocations: 7.984 kB / 342 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1459, allocations: 0 / 342 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.147, allocations: 0.6426 MB / 342.7 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.147, allocations: 3.984 kB / 342.7 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1472, allocations: 43.8 kB / 342.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/0.1474, allocations: 76.8 kB / 342.8 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.1474, allocations: 0 / 342.8 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.1495, allocations: 1.74 MB / 344.5 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1496, allocations: 192 / 344.5 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/0.1503, allocations: 447.8 kB / 345 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.1504, allocations: 100.9 kB / 345 MB, free: 2.121 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.1505, allocations: 7.984 kB / 345.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.1506, allocations: 20 kB / 345.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1507, allocations: 15.88 kB / 345.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1507, allocations: 8 kB / 345.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.1509, allocations: 165.7 kB / 345.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1509, allocations: 0 / 345.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005999/0.1515, allocations: 131.7 kB / 345.4 MB, free: 1.781 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001711/0.1516, allocations: 107.2 kB / 345.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.1528, allocations: 0.5672 MB / 346.1 MB, free: 1.074 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1528, allocations: 0 / 346.1 MB, free: 1.074 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.1531, allocations: 215.2 kB / 346.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.1536, allocations: 40.59 kB / 346.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1555, allocations: 0.9721 MB / 347.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1559, allocations: 0.756 MB / 348 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.156, allocations: 25.92 kB / 348.1 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.1561, allocations: 23.38 kB / 348.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1561, allocations: 0 / 348.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Templates: time 0.006698/0.1628, allocations: 3.041 MB / 351.1 MB, free: 11.94 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1)