Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001521/0.001521, allocations: 165.2 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.367/1.367, allocations: 170.7 MB / 178.7 MB, free: 15.58 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001738/0.001738, allocations: 104.6 kB / 218 MB, free: 8.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.846e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08153, allocations: 38.77 MB / 301 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.281/0.3626, allocations: 66.87 MB / 367.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.3628, allocations: 67.78 kB / 367.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007142/0.37, allocations: 2.591 MB / 370.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.347e-06/0.37, allocations: 8 kB / 370.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.37, allocations: 0 / 370.5 MB, free: 15.3 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005551/0.3706, allocations: 408.7 kB / 370.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3707, allocations: 12.03 kB / 370.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.3707, allocations: 16.56 kB / 370.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.3709, allocations: 200.2 kB / 371.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.371, allocations: 4 kB / 371.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.371, allocations: 7.953 kB / 371.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/0.3711, allocations: 52.44 kB / 371.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.3713, allocations: 109 kB / 371.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3713, allocations: 0 / 371.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.3714, allocations: 0 / 371.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3714, allocations: 7.938 kB / 371.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/0.3723, allocations: 489 kB / 371.8 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.3725, allocations: 73.62 kB / 371.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.3727, allocations: 55.73 kB / 371.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.3727, allocations: 7.984 kB / 371.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3727, allocations: 30.56 kB / 372 MB, free: 13.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3727, allocations: 0 / 372 MB, free: 13.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004631/0.3732, allocations: 123.5 kB / 372.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.3733, allocations: 102.8 kB / 372.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3735, allocations: 139 kB / 372.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3735, allocations: 25.7 kB / 372.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.3736, allocations: 118.2 kB / 372.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.3737, allocations: 30.8 kB / 372.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.3737, allocations: 0 / 372.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3739, allocations: 326.3 kB / 372.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.3739, allocations: 26.12 kB / 372.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.374, allocations: 56.09 kB / 372.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.3741, allocations: 30.98 kB / 372.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3741, allocations: 4.031 kB / 372.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003369/0.3744, allocations: 140.3 kB / 373.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3744, allocations: 8 kB / 373.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3744, allocations: 0 / 373.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.3747, allocations: 52.44 kB / 373.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008608/0.3756, allocations: 131.9 kB / 373.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.378, allocations: 2.693 MB / 375.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.3782, allocations: 11.91 kB / 376 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3782, allocations: 7.984 kB / 376 MB, free: 9.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.635e-05/0.3783, allocations: 106.2 kB / 376.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.3783, allocations: 15.92 kB / 376.1 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.3787, allocations: 129.2 kB / 376.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3787, allocations: 0 / 376.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.3787, allocations: 48 / 376.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3787, allocations: 3.984 kB / 376.2 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.3793, allocations: 411.2 kB / 376.6 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3793, allocations: 8.031 kB / 376.6 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.3794, allocations: 18.06 kB / 376.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.3797, allocations: 52.42 kB / 376.7 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3797, allocations: 0 / 376.7 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.3809, allocations: 1.305 MB / 378 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3809, allocations: 0 / 378 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.3813, allocations: 272.6 kB / 378.3 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.3814, allocations: 100.3 kB / 378.4 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.3814, allocations: 0 / 378.4 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.3815, allocations: 16.05 kB / 378.4 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.3816, allocations: 4 kB / 378.4 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.3816, allocations: 7.984 kB / 378.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.761e-05/0.3817, allocations: 113.6 kB / 378.5 MB, free: 7.145 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3817, allocations: 0 / 378.5 MB, free: 7.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.382, allocations: 39.94 kB / 378.5 MB, free: 7.105 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001417/0.3821, allocations: 104.4 kB / 378.6 MB, free: 6.992 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008947/0.383, allocations: 251 kB / 378.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3831, allocations: 4.125 kB / 378.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.3833, allocations: 152.3 kB / 379 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.3834, allocations: 7.25 kB / 379 MB, free: 6.598 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/0.384, allocations: 292.5 kB / 379.3 MB, free: 6.301 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.3843, allocations: 0.7201 MB / 380 MB, free: 5.555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.3844, allocations: 12.42 kB / 380.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.3844, allocations: 15.38 kB / 380.1 MB, free: 5.523 MB / 266.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3844, allocations: 0 / 380.1 MB, free: 5.523 MB / 266.7 MB Notification: Performance of Templates: time 0.003985/0.3884, allocations: 1.534 MB / 381.6 MB, free: 4 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1)