Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.01066/0.01066, allocations: 99.53 kB / 15.73 MB, free: 5.996 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.001879/0.00188, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.533/1.533, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001072/0.001072, allocations: 51.36 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.09691, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003199/0.1002, allocations: 1.979 MB / 375.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009812/0.1012, allocations: 0.6084 MB / 375.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.1012, allocations: 8 kB / 375.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.51e-05/0.1013, allocations: 19.78 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.1014, allocations: 39.64 kB / 375.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.1018, allocations: 95.73 kB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.102, allocations: 187.2 kB / 376.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1022, allocations: 53.41 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.1023, allocations: 79.7 kB / 376.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1025, allocations: 83.61 kB / 376.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.1025, allocations: 16 kB / 376.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.775e-05/0.1025, allocations: 16 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.1026, allocations: 31.91 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.251e-05/0.1027, allocations: 71.66 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1029, allocations: 175.4 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1029, allocations: 0 / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1029, allocations: 0 / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1029, allocations: 4 kB / 376.6 MB, free: 13.81 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.0007689/0.1037, allocations: 470.7 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1037, allocations: 12.03 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.1038, allocations: 20.75 kB / 377.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.104, allocations: 199.9 kB / 377.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.104, allocations: 12.31 kB / 377.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.104, allocations: 12.38 kB / 377.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.1043, allocations: 156.4 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1044, allocations: 0 / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1044, allocations: 4 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1044, allocations: 8 kB / 377.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.1047, allocations: 91.94 kB / 377.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008729/0.1056, allocations: 0.507 MB / 378.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.1059, allocations: 106.4 kB / 378.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.1061, allocations: 68.83 kB / 378.3 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.1061, allocations: 160 / 378.3 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1061, allocations: 38.48 kB / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.1061, allocations: 0 / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000457/0.1066, allocations: 153.4 kB / 378.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.1067, allocations: 106.8 kB / 378.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1068, allocations: 154.2 kB / 378.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1068, allocations: 25.7 kB / 378.7 MB, free: 11.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.1069, allocations: 123.9 kB / 378.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1069, allocations: 23.66 kB / 378.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.107, allocations: 25.7 kB / 378.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1071, allocations: 330.8 kB / 379.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1072, allocations: 35.97 kB / 379.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.1074, allocations: 76.27 kB / 379.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.1077, allocations: 110.8 kB / 379.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1077, allocations: 0 / 379.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003163/0.108, allocations: 149.4 kB / 379.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.108, allocations: 11.92 kB / 379.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.108, allocations: 0 / 379.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.108, allocations: 4 kB / 379.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/0.1086, allocations: 83.92 kB / 379.7 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.1099, allocations: 1.496 MB / 381.2 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.1101, allocations: 19.92 kB / 381.2 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.1101, allocations: 11.92 kB / 381.2 MB, free: 8.793 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 9.201e-05/0.1102, allocations: 125.7 kB / 381.4 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.1103, allocations: 7.906 kB / 381.4 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/0.1107, allocations: 163.2 kB / 381.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1107, allocations: 0 / 381.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1107, allocations: 11.88 kB / 381.5 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1107, allocations: 0 / 381.5 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.1114, allocations: 468 kB / 382 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1114, allocations: 0 / 382 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.1116, allocations: 23.97 kB / 382 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.1118, allocations: 36.81 kB / 382 MB, free: 7.895 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1118, allocations: 3.984 kB / 382 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.1129, allocations: 1.387 MB / 383.4 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1129, allocations: 3.938 kB / 383.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.1134, allocations: 293 kB / 383.7 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.1135, allocations: 93.03 kB / 383.8 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1136, allocations: 3.938 kB / 383.8 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1137, allocations: 20.05 kB / 383.8 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.1138, allocations: 7.984 kB / 383.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1138, allocations: 7.984 kB / 383.9 MB, free: 5.898 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1139, allocations: 123.9 kB / 384 MB, free: 5.777 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1139, allocations: 0 / 384 MB, free: 5.777 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.1142, allocations: 43.84 kB / 384 MB, free: 5.734 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.0001336/0.1143, allocations: 103.2 kB / 384.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006572/0.115, allocations: 135.8 kB / 384.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.115, allocations: 0 / 384.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.1153, allocations: 166.7 kB / 384.4 MB, free: 5.316 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.1156, allocations: 8 kB / 384.4 MB, free: 5.309 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.1171, allocations: 0.5361 MB / 385 MB, free: 4.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.1175, allocations: 0.7157 MB / 385.7 MB, free: 4 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.239e-05/0.1175, allocations: 16.53 kB / 385.7 MB, free: 3.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.1176, allocations: 11.44 kB / 385.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1176, allocations: 3.938 kB / 385.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of Templates: time 0.004216/0.1218, allocations: 1.706 MB / 387.4 MB, free: 2.266 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1)