Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7745/0.7745, allocations: 110.8 MB / 118.3 MB, free: 14.51 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001736/0.001736, allocations: 155.5 kB / 144 MB, free: 4.828 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.39e-05/1.431e-05, allocations: 4 kB / 173.9 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04392/0.04395, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04664/0.09064, allocations: 34.29 MB / 233.3 MB, free: 11.34 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001474/0.09082, allocations: 63.97 kB / 233.4 MB, free: 11.28 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006063/0.0969, allocations: 2.14 MB / 235.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.09692, allocations: 4 kB / 235.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.09693, allocations: 4 kB / 235.5 MB, free: 9.129 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004756/0.09742, allocations: 402.2 kB / 235.9 MB, free: 8.691 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.09747, allocations: 8.031 kB / 235.9 MB, free: 8.684 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.09753, allocations: 15.81 kB / 235.9 MB, free: 8.668 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.09772, allocations: 195 kB / 236.1 MB, free: 8.438 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.09774, allocations: 4 kB / 236.1 MB, free: 8.434 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.09777, allocations: 8 kB / 236.2 MB, free: 8.426 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001246/0.0979, allocations: 40 kB / 236.2 MB, free: 8.387 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.09808, allocations: 108.1 kB / 236.3 MB, free: 8.266 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.0981, allocations: 0 / 236.3 MB, free: 8.266 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.09813, allocations: 4 kB / 236.3 MB, free: 8.262 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.09814, allocations: 0 / 236.3 MB, free: 8.262 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/0.09896, allocations: 463 kB / 236.8 MB, free: 7.758 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.339e-05/0.09906, allocations: 34.67 kB / 236.8 MB, free: 7.715 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.09911, allocations: 25.02 kB / 236.8 MB, free: 7.688 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.09913, allocations: 7.938 kB / 236.8 MB, free: 7.68 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.09916, allocations: 30.56 kB / 236.8 MB, free: 7.641 MB / 186.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.09916, allocations: 0 / 236.8 MB, free: 7.641 MB / 186.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003813/0.09955, allocations: 98.36 kB / 236.9 MB, free: 7.535 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.09963, allocations: 103.2 kB / 237 MB, free: 7.41 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.09979, allocations: 141.4 kB / 237.2 MB, free: 7.266 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.09982, allocations: 29.7 kB / 237.2 MB, free: 7.23 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.09992, allocations: 115.8 kB / 237.3 MB, free: 7.113 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.09994, allocations: 15.75 kB / 237.3 MB, free: 7.098 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.09996, allocations: 0 / 237.3 MB, free: 7.098 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1001, allocations: 322.8 kB / 237.7 MB, free: 6.773 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.1001, allocations: 12 kB / 237.7 MB, free: 6.762 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.1002, allocations: 61.14 kB / 237.7 MB, free: 6.684 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.191e-05/0.1003, allocations: 23.92 kB / 237.7 MB, free: 6.66 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1003, allocations: 0 / 237.7 MB, free: 6.66 MB / 186.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003387/0.1006, allocations: 134.3 kB / 237.9 MB, free: 6.52 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1007, allocations: 8 kB / 237.9 MB, free: 6.512 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1007, allocations: 0 / 237.9 MB, free: 6.512 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.101, allocations: 48.81 kB / 237.9 MB, free: 6.461 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008587/0.1019, allocations: 132 kB / 238.1 MB, free: 6.332 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.1044, allocations: 2.663 MB / 240.7 MB, free: 3.434 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.1046, allocations: 23.86 kB / 240.8 MB, free: 3.41 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1046, allocations: 4.156 kB / 240.8 MB, free: 3.406 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: SaturatingInductance1.Psi:VARIABLE(unit = "Wb" ) type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: output i:VARIABLE(unit = "A" ) "current across saturating inductor" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.1048, allocations: 109.6 kB / 240.9 MB, free: 3.293 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.1049, allocations: 11.89 kB / 240.9 MB, free: 3.281 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.1052, allocations: 106.8 kB / 241 MB, free: 3.168 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1052, allocations: 8 kB / 241 MB, free: 3.16 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.1052, allocations: 0 / 241 MB, free: 3.16 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1052, allocations: 0 / 241 MB, free: 3.16 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.1055, allocations: 182.2 kB / 241.2 MB, free: 2.945 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1055, allocations: 0 / 241.2 MB, free: 2.945 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.1056, allocations: 11.98 kB / 241.2 MB, free: 2.934 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.1059, allocations: 56.84 kB / 241.2 MB, free: 2.875 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1059, allocations: 0 / 241.2 MB, free: 2.875 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.107, allocations: 1.291 MB / 242.5 MB, free: 1.465 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.107, allocations: 0 / 242.5 MB, free: 1.465 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.1074, allocations: 224.2 kB / 242.7 MB, free: 1.227 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/0.1075, allocations: 96.88 kB / 242.8 MB, free: 1.113 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1075, allocations: 4.125 kB / 242.8 MB, free: 1.109 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.1077, allocations: 11.98 kB / 242.9 MB, free: 1.098 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.1077, allocations: 11.98 kB / 242.9 MB, free: 1.086 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1077, allocations: 0 / 242.9 MB, free: 1.086 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.921e-05/0.1078, allocations: 120.1 kB / 243 MB, free: 0.9688 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.734e-06/0.1078, allocations: 0 / 243 MB, free: 0.9688 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002899/0.1081, allocations: 39.89 kB / 243 MB, free: 0.9297 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (SaturatingInductance1.Psi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.1083, allocations: 107.2 kB / 243.1 MB, free: 0.8164 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0008424/0.1091, allocations: 238.7 kB / 243.4 MB, free: 0.5703 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1091, allocations: 4 kB / 243.4 MB, free: 0.5664 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.1093, allocations: 133.8 kB / 243.5 MB, free: 436 kB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.1095, allocations: 5.469 kB / 243.5 MB, free: 432 kB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.1099, allocations: 205.5 kB / 243.7 MB, free: 200 kB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08757/0.1975, allocations: 0.7062 MB / 244.4 MB, free: 43.57 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 7.926e-05/0.1976, allocations: 10.62 kB / 244.4 MB, free: 43.56 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.1976, allocations: 15.97 kB / 244.4 MB, free: 43.56 MB / 186.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1976, allocations: 0 / 244.4 MB, free: 43.56 MB / 186.7 MB Notification: Performance of Templates: time 0.004223/0.2019, allocations: 1.421 MB / 245.9 MB, free: 43.52 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1)