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.0014/0.0014, allocations: 97.8 kB / 16.5 MB, free: 6.648 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.001562/0.001562, allocations: 194 kB / 17.42 MB, free: 6.066 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.572/1.572, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001084/0.001084, allocations: 48.31 kB / 279.3 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09398/0.09507, allocations: 46.63 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003417/0.09854, allocations: 2.067 MB / 328 MB, free: 2.809 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009141/0.09947, allocations: 0.6087 MB / 328.6 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.09955, allocations: 4 kB / 328.6 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.105e-05/0.09963, allocations: 11.91 kB / 328.6 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.09981, allocations: 31.7 kB / 328.7 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1001, allocations: 83.89 kB / 328.8 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1003, allocations: 171.3 kB / 328.9 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1005, allocations: 45.47 kB / 329 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1006, allocations: 75.66 kB / 329 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1008, allocations: 75.66 kB / 329.1 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.1008, allocations: 12 kB / 329.1 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.744e-05/0.1008, allocations: 8 kB / 329.1 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.1009, allocations: 27.86 kB / 329.2 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/0.1009, allocations: 75.58 kB / 329.2 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1012, allocations: 167.7 kB / 329.4 MB, free: 1.414 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1012, allocations: 0 / 329.4 MB, free: 1.414 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1012, allocations: 4 kB / 329.4 MB, free: 1.41 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1012, allocations: 0 / 329.4 MB, free: 1.41 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.0008582/0.1021, allocations: 470.8 kB / 329.9 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1021, allocations: 8.031 kB / 329.9 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.1022, allocations: 16.84 kB / 329.9 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.1024, allocations: 204 kB / 330.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1024, allocations: 8.375 kB / 330.1 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.1024, allocations: 12.38 kB / 330.1 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.1027, allocations: 144.4 kB / 330.2 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1028, allocations: 7.969 kB / 330.3 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.1028, allocations: 12 kB / 330.3 MB, free: 456 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1028, allocations: 0 / 330.3 MB, free: 456 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.1031, allocations: 95.88 kB / 330.4 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009457/0.104, allocations: 0.4993 MB / 330.9 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.1043, allocations: 106.5 kB / 331 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.1046, allocations: 64.83 kB / 331 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1046, allocations: 4 kB / 331 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1046, allocations: 38.48 kB / 331.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.1046, allocations: 4 kB / 331.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004795/0.1051, allocations: 141.5 kB / 331.2 MB, free: 15.41 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/0.1052, allocations: 106.8 kB / 331.3 MB, free: 15.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1054, allocations: 166 kB / 331.5 MB, free: 15.11 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1054, allocations: 29.7 kB / 331.5 MB, free: 15.08 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.1055, allocations: 119.9 kB / 331.6 MB, free: 14.96 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.1056, allocations: 27.72 kB / 331.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.1056, allocations: 29.7 kB / 331.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1058, allocations: 322.8 kB / 332 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.1059, allocations: 43.97 kB / 332 MB, free: 14.53 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.1061, allocations: 80.2 kB / 332.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.1063, allocations: 102.5 kB / 332.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1063, allocations: 4 kB / 332.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004051/0.1067, allocations: 145.5 kB / 332.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1068, allocations: 7.938 kB / 332.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1068, allocations: 0 / 332.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1068, allocations: 0 / 332.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.1074, allocations: 87.89 kB / 332.5 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.1088, allocations: 1.405 MB / 333.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.109, allocations: 16.02 kB / 333.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.109, allocations: 0 / 333.9 MB, free: 12.52 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.000111/0.1091, allocations: 133.9 kB / 334 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.1092, allocations: 11.81 kB / 334 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.1096, allocations: 155.1 kB / 334.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1096, allocations: 4 kB / 334.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1096, allocations: 4 kB / 334.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1097, allocations: 3.984 kB / 334.2 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000692/0.1103, allocations: 460.5 kB / 334.6 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1104, allocations: 4.031 kB / 334.6 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.1105, allocations: 19.98 kB / 334.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002696/0.1108, allocations: 48.69 kB / 334.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1108, allocations: 0 / 334.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.1118, allocations: 1.292 MB / 336 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1118, allocations: 4.031 kB / 336 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.1124, allocations: 301.2 kB / 336.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.1125, allocations: 89.08 kB / 336.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1125, allocations: 4 kB / 336.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.1127, allocations: 11.98 kB / 336.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.1127, allocations: 11.98 kB / 336.4 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1127, allocations: 4 kB / 336.4 MB, free: 9.727 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.119e-05/0.1128, allocations: 115.2 kB / 336.5 MB, free: 9.613 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1128, allocations: 3.938 kB / 336.5 MB, free: 9.609 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1131, allocations: 55.72 kB / 336.6 MB, free: 9.555 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.0001254/0.1132, allocations: 99.25 kB / 336.7 MB, free: 9.449 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006913/0.1139, allocations: 139.8 kB / 336.8 MB, free: 9.312 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.114, allocations: 0 / 336.8 MB, free: 9.312 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.1143, allocations: 158.7 kB / 337 MB, free: 9.145 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1145, allocations: 8.094 kB / 337 MB, free: 9.137 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1161, allocations: 0.5813 MB / 337.6 MB, free: 8.527 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1164, allocations: 0.7121 MB / 338.3 MB, free: 7.789 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.972e-05/0.1164, allocations: 12.55 kB / 338.3 MB, free: 7.777 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.1165, allocations: 15.44 kB / 338.3 MB, free: 7.762 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1165, allocations: 3.938 kB / 338.3 MB, free: 7.758 MB / 286.1 MB Notification: Performance of Templates: time 0.004155/0.1207, allocations: 1.538 MB / 339.8 MB, free: 6.223 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)