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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006685/0.006685, allocations: 101 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.002262/0.002262, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.56/1.56, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001473/0.001473, allocations: 51.94 kB / 326.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1051, allocations: 46.62 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003508/0.1087, allocations: 1.99 MB / 375.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1098, allocations: 0.6201 MB / 375.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.1099, allocations: 4 kB / 375.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.473e-05/0.11, allocations: 19.8 kB / 375.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.1102, allocations: 47.56 kB / 375.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.1106, allocations: 95.81 kB / 375.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.1109, allocations: 179.3 kB / 376.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1111, allocations: 49.45 kB / 376.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.1113, allocations: 83.69 kB / 376.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1114, allocations: 75.62 kB / 376.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.1114, allocations: 20 kB / 376.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.529e-05/0.1115, allocations: 16 kB / 376.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.1115, allocations: 31.91 kB / 376.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1117, allocations: 83.58 kB / 376.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.1119, allocations: 163.4 kB / 376.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.1119, allocations: 7.938 kB / 376.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.112, allocations: 3.938 kB / 376.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.112, allocations: 0 / 376.6 MB, free: 1.059 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009712/0.1129, allocations: 474.7 kB / 377.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.113, allocations: 12.03 kB / 377.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.1131, allocations: 16.75 kB / 377.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.1133, allocations: 200 kB / 377.3 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1133, allocations: 8.375 kB / 377.3 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.1134, allocations: 4.375 kB / 377.3 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.1138, allocations: 164.3 kB / 377.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1138, allocations: 0 / 377.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.1138, allocations: 4 kB / 377.5 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1138, allocations: 4 kB / 377.5 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2356/0.3495, allocations: 93.58 kB / 377.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.3508, allocations: 0.4969 MB / 378.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.3511, allocations: 104 kB / 378.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.3514, allocations: 67.12 kB / 378.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3514, allocations: 4.469 kB / 378.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.3515, allocations: 36.88 kB / 378.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.896e-06/0.3515, allocations: 1.312 kB / 378.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005367/0.352, allocations: 150.1 kB / 378.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.3521, allocations: 105 kB / 378.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3523, allocations: 156.8 kB / 378.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3523, allocations: 30.41 kB / 378.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.3524, allocations: 126.3 kB / 378.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.3524, allocations: 22.59 kB / 378.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.3525, allocations: 30.97 kB / 378.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.3526, allocations: 323.1 kB / 379.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3527, allocations: 40.17 kB / 379.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.3529, allocations: 75 kB / 379.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.3532, allocations: 103.7 kB / 379.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3532, allocations: 0 / 379.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003569/0.3536, allocations: 147.1 kB / 379.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.3536, allocations: 9.312 kB / 379.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3536, allocations: 2.25 kB / 379.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.3537, allocations: 5.312 kB / 379.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/0.3543, allocations: 79.7 kB / 379.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.3556, allocations: 1.509 MB / 381.2 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.3558, allocations: 24.91 kB / 381.2 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3558, allocations: 4.25 kB / 381.2 MB, free: 10.59 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.3559, allocations: 126.7 kB / 381.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.356, allocations: 12.19 kB / 381.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005061/0.3565, allocations: 158.1 kB / 381.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3565, allocations: 1.125 kB / 381.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3565, allocations: 1.141 kB / 381.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3565, allocations: 2.391 kB / 381.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00088/0.3574, allocations: 466.6 kB / 382 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3574, allocations: 1.375 kB / 382 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.3576, allocations: 28.97 kB / 382 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002489/0.3578, allocations: 38.16 kB / 382 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3579, allocations: 1.891 kB / 382 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009153/0.3588, allocations: 1.395 MB / 383.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3588, allocations: 1.094 kB / 383.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.3594, allocations: 295.2 kB / 383.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.3595, allocations: 89.2 kB / 383.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3595, allocations: 10.95 kB / 383.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.3597, allocations: 13.05 kB / 383.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.3597, allocations: 15.56 kB / 383.8 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3597, allocations: 2.188 kB / 383.8 MB, free: 8.441 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.439e-05/0.3598, allocations: 118.8 kB / 384 MB, free: 8.355 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3598, allocations: 0 / 384 MB, free: 8.355 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.3602, allocations: 36.12 kB / 384 MB, free: 8.352 MB / 318.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001348/0.3603, allocations: 107.2 kB / 384.1 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007124/0.361, allocations: 135.9 kB / 384.2 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.361, allocations: 4.062 kB / 384.2 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.3614, allocations: 169.4 kB / 384.4 MB, free: 8.102 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.3617, allocations: 13.33 kB / 384.4 MB, free: 8.098 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.3632, allocations: 0.5266 MB / 384.9 MB, free: 7.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3634, allocations: 0.7203 MB / 385.7 MB, free: 7.109 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.3634, allocations: 13.66 kB / 385.7 MB, free: 7.105 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.3635, allocations: 14.59 kB / 385.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3635, allocations: 3.094 kB / 385.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of Templates: time 0.00503/0.3685, allocations: 1.662 MB / 387.4 MB, free: 6.969 MB / 318.1 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)