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.000784/0.0007842, allocations: 94.67 kB / 16.65 MB, free: 6.535 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.0008654/0.0008658, allocations: 176.4 kB / 17.56 MB, free: 6.18 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.634/1.634, allocations: 205.4 MB / 223.7 MB, free: 12.98 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.0004821/0.0004821, allocations: 12 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 47.59 MB / 328.3 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00241/0.1092, allocations: 1.713 MB / 330 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1102, allocations: 0.5931 MB / 330.6 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.1103, allocations: 0 / 330.6 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.1104, allocations: 11.92 kB / 330.6 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.1105, allocations: 39.69 kB / 330.7 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.1108, allocations: 75.84 kB / 330.8 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.111, allocations: 175.3 kB / 330.9 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1112, allocations: 49.44 kB / 331 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.1114, allocations: 67.7 kB / 331 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1115, allocations: 75.62 kB / 331.1 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.1115, allocations: 8 kB / 331.1 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.424e-05/0.1116, allocations: 8 kB / 331.1 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.1116, allocations: 19.92 kB / 331.1 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.096e-05/0.1117, allocations: 97.28 kB / 331.2 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.1119, allocations: 163.6 kB / 331.4 MB, free: 0.625 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1119, allocations: 7.938 kB / 331.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1119, allocations: 7.938 kB / 331.4 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1119, allocations: 0 / 331.4 MB, free: 0.6094 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.0006934/0.1126, allocations: 446.9 kB / 331.9 MB, free: 128 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1127, allocations: 8.031 kB / 331.9 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.1127, allocations: 12.84 kB / 331.9 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.1129, allocations: 200 kB / 332.1 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1129, allocations: 8.375 kB / 332.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.113, allocations: 8.375 kB / 332.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.1133, allocations: 168.3 kB / 332.2 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1133, allocations: 0 / 332.2 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.1133, allocations: 4 kB / 332.3 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1134, allocations: 4 kB / 332.3 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/0.1136, allocations: 95.94 kB / 332.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008781/0.1145, allocations: 0.5071 MB / 332.9 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.1149, allocations: 114.5 kB / 333 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.1151, allocations: 60.84 kB / 333 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1151, allocations: 4 kB / 333 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1151, allocations: 42.48 kB / 333.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1151, allocations: 0 / 333.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004644/0.1156, allocations: 145.5 kB / 333.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.1157, allocations: 106.8 kB / 333.3 MB, free: 14.49 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1158, allocations: 162 kB / 333.5 MB, free: 14.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1159, allocations: 29.7 kB / 333.5 MB, free: 14.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.116, allocations: 123.8 kB / 333.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.116, allocations: 27.8 kB / 333.7 MB, free: 14.14 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.116, allocations: 25.7 kB / 333.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1161, allocations: 314.8 kB / 334 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1163, allocations: 39.97 kB / 334 MB, free: 13.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.1164, allocations: 84.27 kB / 334.1 MB, free: 13.65 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.1167, allocations: 106.4 kB / 334.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1167, allocations: 4.031 kB / 334.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003329/0.117, allocations: 145.8 kB / 334.4 MB, free: 13.39 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1171, allocations: 7.938 kB / 334.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1171, allocations: 4 kB / 334.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1171, allocations: 0 / 334.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005577/0.1177, allocations: 83.95 kB / 334.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.1191, allocations: 1.405 MB / 335.9 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.1193, allocations: 20.02 kB / 335.9 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1193, allocations: 8.109 kB / 335.9 MB, free: 11.72 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.0001325/0.1194, allocations: 129.7 kB / 336 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.1195, allocations: 19.78 kB / 336 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.12, allocations: 163.1 kB / 336.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.12, allocations: 0 / 336.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.12, allocations: 4 kB / 336.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.12, allocations: 0 / 336.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007459/0.1207, allocations: 472 kB / 336.7 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1208, allocations: 4 kB / 336.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.1209, allocations: 23.97 kB / 336.7 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002631/0.1212, allocations: 44.8 kB / 336.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1212, allocations: 0 / 336.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.1222, allocations: 1.3 MB / 338 MB, free: 9.363 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1223, allocations: 0 / 338 MB, free: 9.363 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005893/0.1228, allocations: 301 kB / 338.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.1229, allocations: 92.95 kB / 338.4 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1229, allocations: 0 / 338.4 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.1231, allocations: 20.05 kB / 338.4 MB, free: 8.918 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.1232, allocations: 11.98 kB / 338.4 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1232, allocations: 4 kB / 338.4 MB, free: 8.902 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.712e-05/0.1233, allocations: 119.2 kB / 338.6 MB, free: 8.785 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1233, allocations: 0 / 338.6 MB, free: 8.785 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1236, allocations: 39.88 kB / 338.6 MB, free: 8.746 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.0001258/0.1237, allocations: 103.2 kB / 338.7 MB, free: 8.637 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006869/0.1244, allocations: 143.9 kB / 338.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1244, allocations: 0 / 338.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.1247, allocations: 166.5 kB / 339 MB, free: 8.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.125, allocations: 8 kB / 339 MB, free: 8.312 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1266, allocations: 0.6224 MB / 339.6 MB, free: 7.664 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1269, allocations: 0.716 MB / 340.4 MB, free: 6.922 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.077e-05/0.1269, allocations: 12.55 kB / 340.4 MB, free: 6.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.127, allocations: 19.44 kB / 340.4 MB, free: 6.891 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.127, allocations: 0 / 340.4 MB, free: 6.891 MB / 286.1 MB Notification: Performance of Templates: time 0.00398/0.131, allocations: 1.523 MB / 341.9 MB, free: 5.375 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)