Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008077/0.0008077, allocations: 89.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.0008472/0.0008473, allocations: 182.5 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 1.281/1.281, 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.0006986/0.000699, allocations: 12 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08247/0.08319, allocations: 47.58 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.006178/0.08941, allocations: 6.883 MB / 335.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.1014, allocations: 10.47 MB / 345.7 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009191/0.1023, allocations: 39.69 kB / 345.7 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.1039, allocations: 0.6021 MB / 346.3 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.1071, allocations: 0.9602 MB / 347.3 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.1086, allocations: 487.7 kB / 347.7 MB, free: 256 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0032/0.1118, allocations: 2.412 MB / 350.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.1122, allocations: 260.3 kB / 350.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004638/0.1127, allocations: 421.7 kB / 350.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.1131, allocations: 0.5043 MB / 351.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.868e-05/0.1132, allocations: 28 kB / 351.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.1146, allocations: 0.6753 MB / 352 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1148, allocations: 154.8 kB / 352.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.1152, allocations: 0.6693 MB / 352.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.1169, allocations: 1.868 MB / 354.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.117, allocations: 0 / 354.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.117, allocations: 0 / 354.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.117, allocations: 0 / 354.7 MB, free: 9.215 MB / 302.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.002365/0.1193, allocations: 1.76 MB / 356.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1194, allocations: 8.031 kB / 356.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.1196, allocations: 198.6 kB / 356.7 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.1213, allocations: 1.345 MB / 358 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.1213, allocations: 36.94 kB / 358.1 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.1214, allocations: 47.84 kB / 358.1 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009209/0.1224, allocations: 0.5314 MB / 358.6 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1224, allocations: 0 / 358.6 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.1224, allocations: 16 kB / 358.7 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.1225, allocations: 20 kB / 358.7 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000942/0.1234, allocations: 492.1 kB / 359.2 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.1263, allocations: 2.108 MB / 361.3 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009805/0.1273, allocations: 0.7314 MB / 362 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007478/0.1281, allocations: 0.5213 MB / 362.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007201/0.1353, allocations: 6.529 MB / 369 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005435/0.1359, allocations: 298.6 kB / 369.3 MB, free: 9.352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=55): time 7.384e-06/0.1359, allocations: 7.922 kB / 369.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.003459/0.1394, allocations: 2.026 MB / 371.4 MB, free: 7.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.1394, allocations: 55.84 kB / 371.4 MB, free: 7.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.1409, allocations: 1.3 MB / 372.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.141, allocations: 29.7 kB / 372.8 MB, free: 5.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/0.1416, allocations: 0.715 MB / 373.5 MB, free: 5.141 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.1417, allocations: 201 kB / 373.7 MB, free: 4.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/0.1418, allocations: 57.67 kB / 373.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1419, allocations: 338 kB / 374 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.1423, allocations: 205.6 kB / 374.3 MB, free: 4.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.1429, allocations: 379.8 kB / 374.6 MB, free: 3.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.1451, allocations: 1.17 MB / 375.8 MB, free: 2.664 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1451, allocations: 3.938 kB / 375.8 MB, free: 2.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001627/0.1468, allocations: 0.9378 MB / 376.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1468, allocations: 8 kB / 376.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.064e-05/0.1469, allocations: 60 kB / 376.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004039/0.1473, allocations: 157.2 kB / 377 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.1478, allocations: 115.8 kB / 377.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1574/0.3051, allocations: 2.303 MB / 379.4 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006287/0.3058, allocations: 34.69 kB / 379.4 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.3059, allocations: 34.25 kB / 379.4 MB, free: 40.57 MB / 318.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.0004652/0.3063, allocations: 279.3 kB / 379.7 MB, free: 40.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.3065, allocations: 183 kB / 379.9 MB, free: 40.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.3085, allocations: 0.9048 MB / 380.8 MB, free: 40.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.3085, allocations: 10.2 kB / 380.8 MB, free: 40.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3086, allocations: 2.844 kB / 380.8 MB, free: 40.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.3086, allocations: 3.391 kB / 380.8 MB, free: 40.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009552/0.3095, allocations: 0.8613 MB / 381.7 MB, free: 40.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.349e-05/0.3096, allocations: 55.83 kB / 381.7 MB, free: 40.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.3099, allocations: 66.33 kB / 381.8 MB, free: 40.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003338/0.3103, allocations: 146.4 kB / 381.9 MB, free: 40.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.3103, allocations: 20.88 kB / 382 MB, free: 40.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.3124, allocations: 2.288 MB / 384.2 MB, free: 38.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/0.3124, allocations: 8.469 kB / 384.2 MB, free: 38.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.3142, allocations: 1.098 MB / 385.3 MB, free: 38.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.3145, allocations: 252.7 kB / 385.6 MB, free: 38.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.3146, allocations: 9.297 kB / 385.6 MB, free: 38.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.315, allocations: 22.95 kB / 385.6 MB, free: 38.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3151, allocations: 51.16 kB / 385.7 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.3152, allocations: 22.56 kB / 385.7 MB, free: 38.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001023/0.3162, allocations: 0.8592 MB / 386.6 MB, free: 38.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3162, allocations: 1.875 kB / 386.6 MB, free: 38.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008973/0.3171, allocations: 380 kB / 386.9 MB, free: 38.46 MB / 318.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.0006924/0.3178, allocations: 455.6 kB / 387.4 MB, free: 38.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.3195, allocations: 0.8655 MB / 388.2 MB, free: 38.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3195, allocations: 0 / 388.2 MB, free: 38.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009129/0.3204, allocations: 0.5941 MB / 388.8 MB, free: 37.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007932/0.3212, allocations: 169 kB / 389 MB, free: 37.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.3248, allocations: 2.933 MB / 391.9 MB, free: 36.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.3254, allocations: 1.169 MB / 393.1 MB, free: 35.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006011/0.326, allocations: 188.7 kB / 393.3 MB, free: 35.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.3261, allocations: 84.34 kB / 393.4 MB, free: 35.61 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3261, allocations: 0 / 393.4 MB, free: 35.61 MB / 318.1 MB Notification: Performance of Templates: time 0.02186/0.348, allocations: 12.8 MB / 406.2 MB, free: 29.03 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)