Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.00851/0.00851, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001637/0.001637, allocations: 193.7 kB / 16.68 MB, free: 5.93 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.914/1.914, allocations: 205.1 MB / 222.5 MB, free: 4.27 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.001353/0.001353, allocations: 51.95 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1296, allocations: 46.63 MB / 373.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003827/0.1334, allocations: 2.671 MB / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1348, allocations: 0.7096 MB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.135, allocations: 11.94 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.1352, allocations: 43.56 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.1355, allocations: 87.25 kB / 376.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.136, allocations: 99.81 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.1364, allocations: 342.4 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000322/0.1367, allocations: 113.6 kB / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.137, allocations: 127.5 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.1372, allocations: 139.4 kB / 377.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.1373, allocations: 31.98 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.1373, allocations: 28 kB / 377.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.035e-05/0.1374, allocations: 71.69 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.1376, allocations: 143.3 kB / 377.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.138, allocations: 314.9 kB / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.138, allocations: 0 / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.138, allocations: 4 kB / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.138, allocations: 4 kB / 378.1 MB, free: 12.32 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001034/0.139, allocations: 0.5888 MB / 378.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1391, allocations: 8.031 kB / 378.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/0.1392, allocations: 36.56 kB / 378.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.1396, allocations: 263.7 kB / 379 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.1396, allocations: 20.94 kB / 379 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.1397, allocations: 24.38 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.1401, allocations: 245.2 kB / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1402, allocations: 4 kB / 379.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.1402, allocations: 12 kB / 379.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.1402, allocations: 7.984 kB / 379.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.1407, allocations: 218.1 kB / 379.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.1422, allocations: 0.9135 MB / 380.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.1427, allocations: 187.6 kB / 380.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.1431, allocations: 156.7 kB / 380.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1431, allocations: 0 / 380.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1431, allocations: 38.56 kB / 380.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.1432, allocations: 0 / 380.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.0016/0.1448, allocations: 0.5307 MB / 381.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.1448, allocations: 55.41 kB / 381.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.1451, allocations: 228.2 kB / 381.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.1452, allocations: 33.7 kB / 381.7 MB, free: 8.547 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1453, allocations: 171.8 kB / 381.8 MB, free: 8.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.1454, allocations: 70.98 kB / 381.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.1455, allocations: 45.7 kB / 381.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1456, allocations: 330.8 kB / 382.3 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1458, allocations: 72.81 kB / 382.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.146, allocations: 121.9 kB / 382.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.1464, allocations: 189.8 kB / 382.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1464, allocations: 0 / 382.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007493/0.1472, allocations: 337.9 kB / 383 MB, free: 7.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1472, allocations: 4 kB / 383 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1472, allocations: 0 / 383 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005626/0.1478, allocations: 116.8 kB / 383.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.148, allocations: 51.91 kB / 383.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/0.1509, allocations: 1.923 MB / 385.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.1511, allocations: 31.73 kB / 385.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.1511, allocations: 8 kB / 385.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003454/0.1515, allocations: 152.1 kB / 385.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001793/0.1517, allocations: 106 kB / 385.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002595/0.1519, allocations: 166.1 kB / 385.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.068e-06/0.152, allocations: 3.938 kB / 385.5 MB, free: 4.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004606/0.1524, allocations: 257.9 kB / 385.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1524, allocations: 7.984 kB / 385.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.1525, allocations: 0 / 385.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.1526, allocations: 48.72 kB / 385.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.1528, allocations: 51.97 kB / 385.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.1547, allocations: 1.717 MB / 387.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1549, allocations: 27.72 kB / 387.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1549, allocations: 11.94 kB / 387.6 MB, free: 2.156 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: 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.0002127/0.1551, allocations: 188.2 kB / 387.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.1552, allocations: 19.81 kB / 387.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.1553, allocations: 29.86 kB / 387.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1553, allocations: 7.938 kB / 387.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1553, allocations: 0 / 387.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1553, allocations: 4.062 kB / 387.9 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.1564, allocations: 0.624 MB / 388.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1564, allocations: 0 / 388.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.1566, allocations: 35.98 kB / 388.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/0.1569, allocations: 68.78 kB / 388.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.1569, allocations: 8 kB / 388.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/0.1594, allocations: 1.869 MB / 390.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1594, allocations: 0 / 390.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007579/0.1601, allocations: 412.5 kB / 390.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.1602, allocations: 104.7 kB / 391 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.1603, allocations: 8 kB / 391 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.1605, allocations: 16.05 kB / 391 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1605, allocations: 19.92 kB / 391 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1606, allocations: 4 kB / 391 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1607, allocations: 169.6 kB / 391.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1607, allocations: 0 / 391.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006617/0.1614, allocations: 131.7 kB / 391.3 MB, free: 14.21 MB / 334.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.0001903/0.1616, allocations: 95.25 kB / 391.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.1628, allocations: 0.5403 MB / 392 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1628, allocations: 4.25 kB / 392 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.1632, allocations: 210.6 kB / 392.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.1637, allocations: 49.3 kB / 392.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.1656, allocations: 0.7408 MB / 393 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.1661, allocations: 0.7559 MB / 393.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.1662, allocations: 21.95 kB / 393.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.1662, allocations: 19.44 kB / 393.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1662, allocations: 0 / 393.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of Templates: time 0.008111/0.1744, allocations: 3.314 MB / 397.1 MB, free: 8.359 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1)