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.001744/0.001744, allocations: 113.9 kB / 17.06 MB, free: 5.977 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.001971/0.001971, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.583/1.583, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001172/0.001172, allocations: 51.94 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09554, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003357/0.09895, allocations: 1.99 MB / 376.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1002, allocations: 0.6279 MB / 377.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.1003, allocations: 4 kB / 377.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.398e-05/0.1003, allocations: 15.8 kB / 377.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.1005, allocations: 43.62 kB / 377.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.1008, allocations: 91.81 kB / 377.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.1011, allocations: 183.3 kB / 377.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1012, allocations: 49.45 kB / 377.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.1014, allocations: 79.7 kB / 377.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1015, allocations: 83.61 kB / 377.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.1016, allocations: 16 kB / 377.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.773e-05/0.1016, allocations: 16 kB / 377.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.1017, allocations: 31.91 kB / 377.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.989e-05/0.1018, allocations: 87.52 kB / 377.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.102, allocations: 167.4 kB / 378 MB, free: 1.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.102, allocations: 0 / 378 MB, free: 1.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.102, allocations: 3.984 kB / 378 MB, free: 1.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.102, allocations: 0 / 378 MB, free: 1.066 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.0007924/0.1028, allocations: 474.7 kB / 378.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1028, allocations: 12.03 kB / 378.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.1029, allocations: 16.75 kB / 378.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.1031, allocations: 200 kB / 378.6 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1031, allocations: 8.375 kB / 378.7 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.1031, allocations: 8.375 kB / 378.7 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.1034, allocations: 156.4 kB / 378.8 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1035, allocations: 4 kB / 378.8 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1035, allocations: 4 kB / 378.8 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1035, allocations: 4 kB / 378.8 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.1038, allocations: 91.94 kB / 378.9 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1908/0.2945, allocations: 0.496 MB / 379.4 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.2949, allocations: 106.9 kB / 379.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.2951, allocations: 66.02 kB / 379.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.2951, allocations: 2.406 kB / 379.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2952, allocations: 37.56 kB / 379.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/0.2952, allocations: 0 / 379.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004666/0.2956, allocations: 147.9 kB / 379.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.2957, allocations: 109.7 kB / 379.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2958, allocations: 159.5 kB / 380 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.2959, allocations: 28.89 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.2959, allocations: 125.4 kB / 380.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.2959, allocations: 23.52 kB / 380.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.296, allocations: 30.14 kB / 380.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.2961, allocations: 321.4 kB / 380.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.2962, allocations: 39.7 kB / 380.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.2964, allocations: 82.55 kB / 380.7 MB, free: 12.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.2966, allocations: 100.2 kB / 380.8 MB, free: 12.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2966, allocations: 0 / 380.8 MB, free: 12.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003062/0.2969, allocations: 147.1 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.297, allocations: 10.56 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.297, allocations: 2.312 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.297, allocations: 2.094 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.2976, allocations: 86.95 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.2986, allocations: 1.508 MB / 382.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.2988, allocations: 24.33 kB / 382.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2989, allocations: 7.531 kB / 382.5 MB, free: 10.58 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 8.882e-05/0.2989, allocations: 127.6 kB / 382.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.299, allocations: 11 kB / 382.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004381/0.2994, allocations: 153.1 kB / 382.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.2994, allocations: 1.938 kB / 382.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.2995, allocations: 0 / 382.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2995, allocations: 0.5625 kB / 382.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007344/0.3002, allocations: 469.6 kB / 383.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3002, allocations: 6.047 kB / 383.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.3004, allocations: 25.53 kB / 383.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.3006, allocations: 30.8 kB / 383.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3006, allocations: 5.922 kB / 383.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000807/0.3014, allocations: 1.395 MB / 384.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3015, allocations: 0.5938 kB / 384.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005722/0.302, allocations: 302.8 kB / 385.1 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.3021, allocations: 87.25 kB / 385.1 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3021, allocations: 1.859 kB / 385.1 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.3023, allocations: 16.47 kB / 385.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.3023, allocations: 11.75 kB / 385.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.3024, allocations: 6.703 kB / 385.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.795e-05/0.3024, allocations: 119.8 kB / 385.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3025, allocations: 0 / 385.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003148/0.3028, allocations: 39.28 kB / 385.3 MB, free: 8.324 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.0001184/0.3029, allocations: 102.1 kB / 385.4 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006754/0.3036, allocations: 141.1 kB / 385.6 MB, free: 8.207 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3036, allocations: 0 / 385.6 MB, free: 8.207 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.3039, allocations: 168.9 kB / 385.7 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.3042, allocations: 17.98 kB / 385.7 MB, free: 8.066 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3057, allocations: 0.5212 MB / 386.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.3058, allocations: 0.716 MB / 387 MB, free: 7.086 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.849e-05/0.3059, allocations: 11.48 kB / 387 MB, free: 7.082 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.306, allocations: 21.86 kB / 387 MB, free: 7.07 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.306, allocations: 3.938 kB / 387 MB, free: 7.066 MB / 318.1 MB Notification: Performance of Templates: time 0.00483/0.3108, allocations: 1.702 MB / 388.7 MB, free: 6.938 MB / 318.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)