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.0008555/0.0008595, allocations: 93.81 kB / 16.3 MB, free: 5.629 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.0009865/0.0009867, allocations: 186.6 kB / 17.2 MB, free: 5.562 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.601/1.601, allocations: 205.4 MB / 223.4 MB, free: 5.363 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.0006793/0.0006794, allocations: 12 kB / 280.1 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3114, allocations: 47.58 MB / 327.7 MB, free: 1.496 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002499/0.314, allocations: 1.615 MB / 329.3 MB, free: 228 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3153, allocations: 0.5652 MB / 329.9 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.3155, allocations: 6.844 kB / 329.9 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.473e-05/0.3156, allocations: 13.41 kB / 329.9 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.3158, allocations: 41.17 kB / 329.9 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.3162, allocations: 77.11 kB / 330 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.3165, allocations: 117.4 kB / 330.1 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.3167, allocations: 41.45 kB / 330.2 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.3169, allocations: 69.64 kB / 330.2 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.3171, allocations: 68.58 kB / 330.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.3172, allocations: 8.406 kB / 330.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.474e-05/0.3172, allocations: 8.531 kB / 330.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.3173, allocations: 27.45 kB / 330.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.043e-05/0.3173, allocations: 54.58 kB / 330.4 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.3175, allocations: 122.8 kB / 330.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.3175, allocations: 0 / 330.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3175, allocations: 0 / 330.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3175, allocations: 5.25 kB / 330.5 MB, free: 15.32 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.0009267/0.3185, allocations: 445.1 kB / 331 MB, free: 14.89 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3185, allocations: 8.656 kB / 331 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.683e-05/0.3186, allocations: 15.94 kB / 331 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.3189, allocations: 195.1 kB / 331.2 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.3189, allocations: 12.02 kB / 331.2 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.319, allocations: 10.34 kB / 331.2 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.3194, allocations: 146.1 kB / 331.3 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3194, allocations: 3.938 kB / 331.3 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.3195, allocations: 9.344 kB / 331.4 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3195, allocations: 2.719 kB / 331.4 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.3198, allocations: 94.91 kB / 331.4 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.321, allocations: 0.5096 MB / 332 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.3213, allocations: 110.6 kB / 332.1 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3214, allocations: 1.219 kB / 332.1 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.3214, allocations: 40.39 kB / 332.1 MB, free: 13.91 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.3214, allocations: 0 / 332.1 MB, free: 13.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005418/0.3219, allocations: 159.3 kB / 332.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.322, allocations: 103.9 kB / 332.4 MB, free: 13.69 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.3222, allocations: 156.4 kB / 332.5 MB, free: 13.56 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.3223, allocations: 31.14 kB / 332.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.3224, allocations: 122.6 kB / 332.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.3224, allocations: 26.42 kB / 332.7 MB, free: 13.39 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.3224, allocations: 1.312 kB / 332.7 MB, free: 13.39 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3226, allocations: 317.2 kB / 333 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.3227, allocations: 43.38 kB / 333 MB, free: 13.05 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.3229, allocations: 89.58 kB / 333.1 MB, free: 12.98 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.3231, allocations: 42.95 kB / 333.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3231, allocations: 4.031 kB / 333.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003611/0.3234, allocations: 154.1 kB / 333.3 MB, free: 12.87 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3235, allocations: 9.453 kB / 333.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3235, allocations: 0 / 333.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3235, allocations: 2 kB / 333.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/0.3241, allocations: 83.14 kB / 333.4 MB, free: 12.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.3255, allocations: 1.409 MB / 334.8 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3257, allocations: 20.8 kB / 334.9 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3258, allocations: 11.45 kB / 334.9 MB, free: 11.37 MB / 270.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.3259, allocations: 120.2 kB / 335 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.326, allocations: 17.2 kB / 335 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.3264, allocations: 167.9 kB / 335.2 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3265, allocations: 0.8125 kB / 335.2 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.3265, allocations: 0 / 335.2 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3265, allocations: 5.125 kB / 335.2 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.3268, allocations: 226.4 kB / 335.4 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3268, allocations: 0 / 335.4 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.3269, allocations: 29.95 kB / 335.4 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/0.3272, allocations: 40.3 kB / 335.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3272, allocations: 1.156 kB / 335.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.3283, allocations: 1.303 MB / 336.8 MB, free: 9.492 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3283, allocations: 0 / 336.8 MB, free: 9.492 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.3289, allocations: 304.8 kB / 337.1 MB, free: 9.27 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.329, allocations: 87.95 kB / 337.1 MB, free: 9.168 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.329, allocations: 4.938 kB / 337.1 MB, free: 9.164 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.3292, allocations: 19.58 kB / 337.2 MB, free: 9.156 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.3292, allocations: 7.047 kB / 337.2 MB, free: 9.152 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3293, allocations: 2.312 kB / 337.2 MB, free: 9.152 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.3294, allocations: 118.1 kB / 337.3 MB, free: 9.059 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3294, allocations: 0 / 337.3 MB, free: 9.059 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003445/0.3297, allocations: 39.25 kB / 337.3 MB, free: 9.051 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001389/0.3299, allocations: 104.5 kB / 337.4 MB, free: 8.957 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006868/0.3306, allocations: 144.7 kB / 337.6 MB, free: 8.902 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3306, allocations: 3.938 kB / 337.6 MB, free: 8.898 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.331, allocations: 170.3 kB / 337.7 MB, free: 8.758 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.3311, allocations: 10.11 kB / 337.8 MB, free: 8.75 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.3327, allocations: 0.6023 MB / 338.4 MB, free: 8.172 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.333, allocations: 0.7238 MB / 339.1 MB, free: 7.422 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.212e-05/0.3331, allocations: 20.47 kB / 339.1 MB, free: 7.402 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.3332, allocations: 15.44 kB / 339.1 MB, free: 7.387 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3332, allocations: 0 / 339.1 MB, free: 7.387 MB / 270.1 MB Notification: Performance of Templates: time 0.004348/0.3375, allocations: 1.442 MB / 340.6 MB, free: 5.945 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: