Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.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.0074/0.007401, allocations: 96.41 kB / 15.73 MB, free: 6.055 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.00152/0.00152, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.596/1.596, allocations: 205.1 MB / 222.6 MB, free: 4.383 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.001303/0.001303, allocations: 45.69 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003308/0.1066, allocations: 1.999 MB / 375.2 MB, free: 15.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1077, allocations: 0.6006 MB / 375.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.1078, allocations: 8 kB / 375.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.093e-05/0.1079, allocations: 19.78 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.1081, allocations: 39.62 kB / 375.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.1084, allocations: 95.8 kB / 375.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.1086, allocations: 183.2 kB / 376.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1088, allocations: 57.45 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.109, allocations: 79.7 kB / 376.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1091, allocations: 83.61 kB / 376.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.1091, allocations: 16 kB / 376.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.235e-05/0.1092, allocations: 16 kB / 376.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.1092, allocations: 31.91 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.968e-05/0.1093, allocations: 75.61 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1095, allocations: 171.2 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1095, allocations: 4 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1095, allocations: 0 / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1096, allocations: 4 kB / 376.6 MB, free: 13.8 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.0007422/0.1103, allocations: 478.5 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1103, allocations: 8.031 kB / 377.1 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.1104, allocations: 20.78 kB / 377.1 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.1106, allocations: 208 kB / 377.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1106, allocations: 8.375 kB / 377.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.1106, allocations: 8.375 kB / 377.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.1109, allocations: 152.5 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.111, allocations: 0 / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.111, allocations: 0 / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.111, allocations: 8 kB / 377.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.1113, allocations: 91.94 kB / 377.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008938/0.1122, allocations: 0.5148 MB / 378.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.1125, allocations: 106.5 kB / 378.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.1127, allocations: 72.77 kB / 378.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1127, allocations: 160 / 378.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1128, allocations: 42.48 kB / 378.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1128, allocations: 0 / 378.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004441/0.1132, allocations: 149.5 kB / 378.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.1133, allocations: 106.8 kB / 378.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1134, allocations: 154.2 kB / 378.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1135, allocations: 29.7 kB / 378.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.1135, allocations: 119.9 kB / 378.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1136, allocations: 27.8 kB / 378.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.1136, allocations: 33.7 kB / 378.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.1137, allocations: 322.8 kB / 379.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1139, allocations: 39.98 kB / 379.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.114, allocations: 76.25 kB / 379.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.1143, allocations: 106.5 kB / 379.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1143, allocations: 0 / 379.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003088/0.1146, allocations: 145.5 kB / 379.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1146, allocations: 11.94 kB / 379.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1146, allocations: 0 / 379.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1147, allocations: 0 / 379.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.1152, allocations: 83.91 kB / 379.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.1166, allocations: 1.508 MB / 381.2 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1168, allocations: 16.02 kB / 381.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.1168, allocations: 7.938 kB / 381.2 MB, free: 8.777 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.0001167/0.1169, allocations: 117.8 kB / 381.4 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.1169, allocations: 19.89 kB / 381.4 MB, free: 8.633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.1174, allocations: 155.2 kB / 381.5 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1174, allocations: 4.047 kB / 381.5 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1174, allocations: 7.922 kB / 381.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1174, allocations: 3.938 kB / 381.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007047/0.1181, allocations: 468 kB / 382 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1181, allocations: 3.938 kB / 382 MB, free: 7.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.1183, allocations: 23.98 kB / 382 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.1185, allocations: 32.86 kB / 382.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1185, allocations: 4 kB / 382.1 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.1197, allocations: 1.391 MB / 383.5 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1197, allocations: 3.938 kB / 383.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/0.1203, allocations: 297.7 kB / 383.7 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.1204, allocations: 85.09 kB / 383.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.1204, allocations: 11.92 kB / 383.8 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.1206, allocations: 20.05 kB / 383.9 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.1206, allocations: 4 kB / 383.9 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1206, allocations: 4 kB / 383.9 MB, free: 5.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.069e-05/0.1207, allocations: 123.9 kB / 384 MB, free: 5.762 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1207, allocations: 0 / 384 MB, free: 5.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.121, allocations: 35.95 kB / 384 MB, free: 5.727 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.0001459/0.1212, allocations: 115.2 kB / 384.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006782/0.1219, allocations: 131.9 kB / 384.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1219, allocations: 0 / 384.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.1222, allocations: 166.9 kB / 384.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1225, allocations: 15.92 kB / 384.4 MB, free: 5.285 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.1242, allocations: 0.5353 MB / 385 MB, free: 4.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.1247, allocations: 0.7157 MB / 385.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.1248, allocations: 12.55 kB / 385.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.1248, allocations: 15.44 kB / 385.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of SimCode: time 2.044e-06/0.1248, allocations: 0 / 385.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of Templates: time 0.004959/0.1298, allocations: 1.651 MB / 387.4 MB, free: 2.301 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1)