Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001086/0.001086, allocations: 179.4 kB / 16.39 MB, free: 5.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.153/1.153, allocations: 194.5 MB / 211.6 MB, free: 3.07 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001564/0.001564, allocations: 110 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.0002739, allocations: 8 kB / 310.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07871/0.079, allocations: 44.49 MB / 355 MB, free: 2.375 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2091/0.2881, allocations: 74.62 MB / 429.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.2883, allocations: 70.23 kB / 429.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02659/0.3149, allocations: 12.97 MB / 442.7 MB, free: 4.039 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.315, allocations: 0 / 442.7 MB, free: 4.039 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.883e-05/0.315, allocations: 19.98 kB / 442.7 MB, free: 4.02 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001319/0.3163, allocations: 1.065 MB / 443.8 MB, free: 2.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.3164, allocations: 10.38 kB / 443.8 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.3165, allocations: 102.9 kB / 443.9 MB, free: 2.852 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.317, allocations: 444.6 kB / 444.3 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.317, allocations: 66.56 kB / 444.4 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-05/0.3171, allocations: 94.94 kB / 444.5 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.3181, allocations: 0.8571 MB / 445.3 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3181, allocations: 3.938 kB / 445.3 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.385e-05/0.3182, allocations: 45.64 kB / 445.4 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.3182, allocations: 26.08 kB / 445.4 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007525/0.319, allocations: 0.5719 MB / 446 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.3225, allocations: 2.996 MB / 449 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.3229, allocations: 296.8 kB / 449.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3229, allocations: 7.953 kB / 449.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3229, allocations: 38.56 kB / 449.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.323, allocations: 3.938 kB / 449.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.001276/0.3242, allocations: 0.6561 MB / 450 MB, free: 13.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.3243, allocations: 55.41 kB / 450 MB, free: 12.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.3247, allocations: 457.8 kB / 450.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.3248, allocations: 33.7 kB / 450.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.325, allocations: 489.4 kB / 451 MB, free: 11.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-05/0.3251, allocations: 149.9 kB / 451.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.3252, allocations: 16 kB / 451.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3253, allocations: 366.8 kB / 451.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.3256, allocations: 169.9 kB / 451.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.326, allocations: 446 kB / 452.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.3264, allocations: 243.6 kB / 452.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3264, allocations: 0 / 452.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00105/0.3274, allocations: 0.7648 MB / 453.1 MB, free: 9.723 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3275, allocations: 8 kB / 453.1 MB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3275, allocations: 8 kB / 453.1 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002584/0.3277, allocations: 84.75 kB / 453.2 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.3284, allocations: 207.8 kB / 453.4 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.33, allocations: 1.822 MB / 455.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.3304, allocations: 87.03 kB / 455.3 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.3305, allocations: 36 kB / 455.4 MB, free: 7.344 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002609/0.3307, allocations: 226 kB / 455.6 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/0.3308, allocations: 63.28 kB / 455.6 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.756e-05/0.3309, allocations: 57.52 kB / 455.7 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3309, allocations: 8 kB / 455.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.331, allocations: 0 / 455.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.331, allocations: 3.984 kB / 455.7 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006749/0.3316, allocations: 0.649 MB / 456.4 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3317, allocations: 0 / 456.4 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.3321, allocations: 103.9 kB / 456.5 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.3323, allocations: 73.31 kB / 456.5 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.3323, allocations: 12.75 kB / 456.5 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.3339, allocations: 1.816 MB / 458.4 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3339, allocations: 0 / 458.4 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.3348, allocations: 0.6678 MB / 459 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.3349, allocations: 140.3 kB / 459.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.335, allocations: 4 kB / 459.2 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.3354, allocations: 59.95 kB / 459.2 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.3354, allocations: 19.97 kB / 459.2 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.3355, allocations: 15.98 kB / 459.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003521/0.3358, allocations: 342.9 kB / 459.6 MB, free: 2.883 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3358, allocations: 0 / 459.6 MB, free: 2.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000717/0.3366, allocations: 243.2 kB / 459.8 MB, free: 2.645 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001469/0.3367, allocations: 123.2 kB / 460 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008856/0.3376, allocations: 0.5893 MB / 460.5 MB, free: 1.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3376, allocations: 0 / 460.5 MB, free: 1.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004372/0.3381, allocations: 327.7 kB / 460.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.3386, allocations: 113.2 kB / 461 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.3408, allocations: 1.744 MB / 462.7 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.3413, allocations: 0.9534 MB / 463.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003477/0.3416, allocations: 69.22 kB / 463.7 MB, free: 14.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.3417, allocations: 39.44 kB / 463.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3417, allocations: 0 / 463.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of Templates: time 0.01118/0.3529, allocations: 6.53 MB / 470.3 MB, free: 8.16 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)