Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001932/0.001932, allocations: 101.2 kB / 16.62 MB, free: 6.809 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.001959/0.001959, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.501/1.501, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001339/0.001339, allocations: 47.92 kB / 279.5 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 46.63 MB / 326.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003446/0.1116, allocations: 2.06 MB / 328.2 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009966/0.1126, allocations: 0.6009 MB / 328.8 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.86e-05/0.1127, allocations: 0 / 328.8 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.049e-05/0.1128, allocations: 15.91 kB / 328.8 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.1129, allocations: 43.67 kB / 328.9 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.1133, allocations: 75.84 kB / 328.9 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1135, allocations: 183.3 kB / 329.1 MB, free: 1.801 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.1136, allocations: 53.45 kB / 329.2 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1138, allocations: 79.7 kB / 329.2 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1139, allocations: 79.61 kB / 329.3 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.114, allocations: 16 kB / 329.3 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.895e-05/0.114, allocations: 16 kB / 329.3 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.734e-05/0.114, allocations: 35.84 kB / 329.4 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.1141, allocations: 75.67 kB / 329.5 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.1143, allocations: 175.6 kB / 329.6 MB, free: 1.277 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1143, allocations: 0 / 329.6 MB, free: 1.277 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1143, allocations: 0 / 329.6 MB, free: 1.277 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1143, allocations: 4 kB / 329.6 MB, free: 1.273 MB / 270.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.0008301/0.1152, allocations: 474.7 kB / 330.1 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1152, allocations: 12.03 kB / 330.1 MB, free: 0.75 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.1153, allocations: 12.84 kB / 330.1 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.1154, allocations: 196 kB / 330.3 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1155, allocations: 8.375 kB / 330.3 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.1155, allocations: 12.38 kB / 330.3 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.1159, allocations: 164.3 kB / 330.5 MB, free: 320 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1159, allocations: 0 / 330.5 MB, free: 320 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.1159, allocations: 4 kB / 330.5 MB, free: 316 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1159, allocations: 4 kB / 330.5 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.1162, allocations: 91.94 kB / 330.6 MB, free: 220 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009488/0.1171, allocations: 0.4993 MB / 331.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.1175, allocations: 110.4 kB / 331.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.1176, allocations: 72.97 kB / 331.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.1177, allocations: 4 kB / 331.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1177, allocations: 34.5 kB / 331.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1177, allocations: 0 / 331.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004575/0.1182, allocations: 141.5 kB / 331.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.1183, allocations: 114.7 kB / 331.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1184, allocations: 158.1 kB / 331.7 MB, free: 14.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1184, allocations: 25.7 kB / 331.7 MB, free: 14.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.1185, allocations: 123.9 kB / 331.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.1185, allocations: 27.56 kB / 331.9 MB, free: 14.79 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.1186, allocations: 29.69 kB / 331.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1187, allocations: 318.8 kB / 332.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1189, allocations: 43.97 kB / 332.3 MB, free: 14.39 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.119, allocations: 76.2 kB / 332.3 MB, free: 14.3 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.1193, allocations: 110.5 kB / 332.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1193, allocations: 0 / 332.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003096/0.1196, allocations: 141.5 kB / 332.6 MB, free: 14.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1196, allocations: 11.97 kB / 332.6 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1196, allocations: 0 / 332.6 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1196, allocations: 4 kB / 332.6 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.1202, allocations: 83.92 kB / 332.7 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.122, allocations: 1.504 MB / 334.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.1222, allocations: 16.02 kB / 334.2 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.1222, allocations: 7.938 kB / 334.2 MB, free: 12.27 MB / 286.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.000136/0.1223, allocations: 121.8 kB / 334.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.1224, allocations: 11.81 kB / 334.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.1229, allocations: 163.2 kB / 334.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1229, allocations: 0 / 334.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1229, allocations: 7.938 kB / 334.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1229, allocations: 0 / 334.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007411/0.1236, allocations: 468.4 kB / 335 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1237, allocations: 4 kB / 335 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.1238, allocations: 23.92 kB / 335 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000221/0.124, allocations: 40.89 kB / 335 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1241, allocations: 0 / 335 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.1252, allocations: 1.395 MB / 336.4 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1252, allocations: 3.938 kB / 336.4 MB, free: 9.824 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.1258, allocations: 297.1 kB / 336.7 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.1258, allocations: 92.95 kB / 336.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1259, allocations: 3.938 kB / 336.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.126, allocations: 11.98 kB / 336.8 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.1261, allocations: 11.98 kB / 336.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.1261, allocations: 4 kB / 336.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.925e-05/0.1262, allocations: 119.2 kB / 337 MB, free: 9.254 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1262, allocations: 4.062 kB / 337 MB, free: 9.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1265, allocations: 35.94 kB / 337 MB, free: 9.215 MB / 286.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.0001369/0.1266, allocations: 99.25 kB / 337.1 MB, free: 9.109 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.1273, allocations: 143.8 kB / 337.2 MB, free: 8.969 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1274, allocations: 0 / 337.2 MB, free: 8.969 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.1277, allocations: 162.6 kB / 337.4 MB, free: 8.797 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.128, allocations: 11.91 kB / 337.4 MB, free: 8.785 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.1297, allocations: 0.582 MB / 338 MB, free: 8.176 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.13, allocations: 0.7157 MB / 338.7 MB, free: 7.434 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.84e-05/0.13, allocations: 8.562 kB / 338.7 MB, free: 7.426 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.1301, allocations: 19.42 kB / 338.7 MB, free: 7.406 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1301, allocations: 0 / 338.7 MB, free: 7.406 MB / 286.1 MB Notification: Performance of Templates: time 0.004526/0.1346, allocations: 1.625 MB / 340.4 MB, free: 5.781 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1)