Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.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.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0048/0.0048, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001051/0.001051, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.321/1.321, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001114/0.001114, allocations: 48.83 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08094/0.08206, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007547/0.08964, allocations: 7.336 MB / 380.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.101, allocations: 10.39 MB / 390.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008482/0.1019, allocations: 79.25 kB / 391 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.1035, allocations: 0.6906 MB / 391.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.1062, allocations: 1.169 MB / 392.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.1076, allocations: 0.6739 MB / 393.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003101/0.1107, allocations: 2.486 MB / 396 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/0.1112, allocations: 279.9 kB / 396.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005169/0.1117, allocations: 477.6 kB / 396.7 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.1122, allocations: 0.524 MB / 397.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.194e-05/0.1123, allocations: 56 kB / 397.3 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.1137, allocations: 0.7065 MB / 398 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.1139, allocations: 182.8 kB / 398.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004998/0.1144, allocations: 0.6754 MB / 398.9 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.1164, allocations: 1.934 MB / 400.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1164, allocations: 0 / 400.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.1164, allocations: 4 kB / 400.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.1164, allocations: 0 / 400.8 MB, free: 5.543 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002811/0.1192, allocations: 1.981 MB / 402.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1193, allocations: 8.031 kB / 402.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.1195, allocations: 202.6 kB / 403 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.1214, allocations: 1.341 MB / 404.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.1214, allocations: 29 kB / 404.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.1215, allocations: 47.91 kB / 404.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/0.1224, allocations: 0.508 MB / 404.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1224, allocations: 0 / 404.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.1225, allocations: 20 kB / 404.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.1225, allocations: 12 kB / 404.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009144/0.1234, allocations: 488 kB / 405.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.1263, allocations: 2.085 MB / 407.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/0.1272, allocations: 0.7118 MB / 408.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007123/0.128, allocations: 0.5096 MB / 408.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007144/0.1351, allocations: 6.513 MB / 415.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005492/0.1357, allocations: 298.5 kB / 415.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 2.294e-06/0.1357, allocations: 0 / 415.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.003415/0.1391, allocations: 1.952 MB / 417.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.1392, allocations: 55.84 kB / 417.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.1405, allocations: 1.308 MB / 418.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.1406, allocations: 33.7 kB / 418.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/0.1412, allocations: 0.7189 MB / 419.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.1413, allocations: 201.1 kB / 419.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.1415, allocations: 118.2 kB / 419.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1417, allocations: 333.9 kB / 420.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.1421, allocations: 197.5 kB / 420.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.1426, allocations: 359.8 kB / 420.8 MB, free: 140 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/0.1449, allocations: 1.139 MB / 421.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.1449, allocations: 4 kB / 421.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001522/0.1464, allocations: 0.9142 MB / 422.8 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.1465, allocations: 13.03 kB / 422.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.869e-05/0.1465, allocations: 55.98 kB / 422.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004282/0.147, allocations: 165.2 kB / 423.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.1474, allocations: 111.8 kB / 423.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.1501, allocations: 2.517 MB / 425.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.1505, allocations: 24.03 kB / 425.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.1506, allocations: 36 kB / 425.7 MB, free: 10.95 MB / 366.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003994/0.151, allocations: 293.5 kB / 426 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.1512, allocations: 181.8 kB / 426.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.1529, allocations: 0.8864 MB / 427.1 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.1529, allocations: 4 kB / 427.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.1529, allocations: 8 kB / 427.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.1529, allocations: 3.984 kB / 427.1 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/0.1539, allocations: 0.8591 MB / 428 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-05/0.154, allocations: 55.98 kB / 428 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.1543, allocations: 63.89 kB / 428.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003614/0.1546, allocations: 152.9 kB / 428.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.1547, allocations: 19.92 kB / 428.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/0.1573, allocations: 2.494 MB / 430.8 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1573, allocations: 0 / 430.8 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.1591, allocations: 1.064 MB / 431.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.1595, allocations: 247.1 kB / 432.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.1596, allocations: 15.98 kB / 432.1 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.16, allocations: 19.98 kB / 432.1 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.1601, allocations: 48.36 kB / 432.1 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.1601, allocations: 24 kB / 432.2 MB, free: 4.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009297/0.1611, allocations: 0.8578 MB / 433 MB, free: 3.418 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1611, allocations: 7.938 kB / 433 MB, free: 3.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008595/0.1619, allocations: 371.8 kB / 433.4 MB, free: 3.047 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007359/0.1627, allocations: 455.9 kB / 433.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.1642, allocations: 0.8483 MB / 434.7 MB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1642, allocations: 0 / 434.7 MB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008978/0.1651, allocations: 0.5785 MB / 435.3 MB, free: 1.117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.1657, allocations: 182.3 kB / 435.4 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.1688, allocations: 2.389 MB / 437.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.1694, allocations: 1.17 MB / 439 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004247/0.1698, allocations: 187.2 kB / 439.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.1699, allocations: 79.44 kB / 439.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.17, allocations: 0 / 439.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of Templates: time 0.1821/0.3521, allocations: 13.82 MB / 453.1 MB, free: 73.71 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)