Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 103.1 kB / 16.62 MB, free: 6.809 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.001314/0.001314, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.394/1.394, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001313/0.001313, allocations: 51.92 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09731, allocations: 46.63 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004021/0.1014, allocations: 2.71 MB / 328.8 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1027, allocations: 0.9005 MB / 329.7 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.1029, allocations: 4 kB / 329.7 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1032, allocations: 43.69 kB / 329.8 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.1035, allocations: 95.36 kB / 329.9 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.1037, allocations: 91.84 kB / 330 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.104, allocations: 346.7 kB / 330.3 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.1042, allocations: 109.7 kB / 330.4 MB, free: 492 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1044, allocations: 135.5 kB / 330.6 MB, free: 356 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.1046, allocations: 151.3 kB / 330.7 MB, free: 204 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.1047, allocations: 32 kB / 330.7 MB, free: 172 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.462e-05/0.1047, allocations: 32 kB / 330.8 MB, free: 140 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.1048, allocations: 67.77 kB / 330.8 MB, free: 72 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.1049, allocations: 159.2 kB / 331 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.1053, allocations: 358.9 kB / 331.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1053, allocations: 0 / 331.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1053, allocations: 0 / 331.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.1053, allocations: 0 / 331.3 MB, free: 15.56 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009795/0.1063, allocations: 0.5963 MB / 331.9 MB, free: 14.92 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1064, allocations: 11.89 kB / 331.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.1065, allocations: 36.56 kB / 332 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.1067, allocations: 263.4 kB / 332.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.1068, allocations: 20.94 kB / 332.3 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.1068, allocations: 28.38 kB / 332.3 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.1073, allocations: 253.2 kB / 332.5 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1073, allocations: 0 / 332.5 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.1074, allocations: 12 kB / 332.5 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1074, allocations: 4 kB / 332.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.1078, allocations: 214.1 kB / 332.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.1093, allocations: 1.009 MB / 333.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.1097, allocations: 202.5 kB / 334 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.11, allocations: 116.8 kB / 334.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.11, allocations: 0 / 334.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1101, allocations: 34.56 kB / 334.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.552e-06/0.1101, allocations: 0 / 334.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.005107/0.1152, allocations: 1.534 MB / 335.6 MB, free: 10.96 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1152, allocations: 59.34 kB / 335.7 MB, free: 10.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.1155, allocations: 232.9 kB / 335.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.1155, allocations: 29.7 kB / 336 MB, free: 10.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1156, allocations: 180.2 kB / 336.1 MB, free: 10.44 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.1157, allocations: 122.2 kB / 336.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1158, allocations: 62.08 kB / 336.3 MB, free: 10.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1159, allocations: 334.8 kB / 336.6 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.1162, allocations: 108.7 kB / 336.7 MB, free: 9.809 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.1164, allocations: 165.2 kB / 336.9 MB, free: 9.633 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.1169, allocations: 283.8 kB / 337.2 MB, free: 9.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1169, allocations: 4 kB / 337.2 MB, free: 9.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001686/0.1186, allocations: 0.537 MB / 337.7 MB, free: 8.785 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.1187, allocations: 12 kB / 337.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1187, allocations: 0 / 337.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.1201, allocations: 253.4 kB / 338 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.1205, allocations: 51.97 kB / 338 MB, free: 8.469 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/0.1254, allocations: 4.133 MB / 342.2 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.1257, allocations: 11.97 kB / 342.2 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.1258, allocations: 16 kB / 342.2 MB, free: 4.031 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.126, allocations: 149.7 kB / 342.3 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.1261, allocations: 27.62 kB / 342.4 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.27e-05/0.1262, allocations: 47.03 kB / 342.4 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1262, allocations: 4 kB / 342.4 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.1262, allocations: 0 / 342.4 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1262, allocations: 11.91 kB / 342.4 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.1286, allocations: 0.9804 MB / 343.4 MB, free: 2.738 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.1286, allocations: 3.984 kB / 343.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.129, allocations: 44.05 kB / 343.5 MB, free: 2.691 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.1303, allocations: 245.7 kB / 343.7 MB, free: 2.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.1303, allocations: 8 kB / 343.7 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004355/0.1346, allocations: 4.122 MB / 347.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1347, allocations: 4.062 kB / 347.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.1365, allocations: 0.7249 MB / 348.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.1366, allocations: 104.8 kB / 348.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.1366, allocations: 7.938 kB / 348.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.1368, allocations: 16.06 kB / 348.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.1369, allocations: 27.95 kB / 348.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.137, allocations: 12 kB / 348.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.1371, allocations: 164.5 kB / 348.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.22e-07/0.1371, allocations: 0 / 348.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005917/0.1377, allocations: 104 kB / 349 MB, free: 12.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001267/0.1379, allocations: 107.2 kB / 349.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009841/0.1389, allocations: 0.5711 MB / 349.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1389, allocations: 256 / 349.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005266/0.1394, allocations: 429.2 kB / 350.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1398, allocations: 28.44 kB / 350.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.141, allocations: 0.84 MB / 350.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1414, allocations: 0.776 MB / 351.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.1415, allocations: 22.28 kB / 351.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.1415, allocations: 23.42 kB / 351.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1415, allocations: 0 / 351.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of Templates: time 0.009027/0.1506, allocations: 5.387 MB / 357.2 MB, free: 4.547 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)