Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008476/0.008476, allocations: 100.9 kB / 15.73 MB, free: 6.027 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.001777/0.001777, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.505/1.505, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001181/0.001181, allocations: 50 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0885/0.08969, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004787/0.09453, allocations: 2.75 MB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.09668, allocations: 1.285 MB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.09686, allocations: 4 kB / 377.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.09714, allocations: 63.42 kB / 377.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005919/0.09774, allocations: 238.6 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.09798, allocations: 111.8 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.09848, allocations: 459 kB / 378.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.09867, allocations: 92.48 kB / 378.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.09892, allocations: 195.4 kB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.09926, allocations: 223.2 kB / 378.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.09932, allocations: 40 kB / 378.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.09969, allocations: 151.9 kB / 378.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.012e-05/0.09979, allocations: 95.7 kB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.09997, allocations: 191.1 kB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.1005, allocations: 0.4983 MB / 379.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1005, allocations: 0 / 379.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1006, allocations: 4 kB / 379.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1006, allocations: 4 kB / 379.5 MB, free: 10.93 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001625/0.1022, allocations: 0.6977 MB / 380.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.1022, allocations: 19.91 kB / 380.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.463e-05/0.1023, allocations: 36.47 kB / 380.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.1028, allocations: 329.2 kB / 380.6 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.1028, allocations: 46.83 kB / 380.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.103, allocations: 48.39 kB / 380.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.1036, allocations: 316.4 kB / 381 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1036, allocations: 4 kB / 381 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.1037, allocations: 12 kB / 381 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1037, allocations: 7.984 kB / 381 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006631/0.1044, allocations: 302 kB / 381.3 MB, free: 9.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.1062, allocations: 1.156 MB / 382.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.1068, allocations: 293 kB / 382.8 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.1071, allocations: 161.6 kB / 382.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1072, allocations: 4 kB / 382.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1072, allocations: 34.56 kB / 383 MB, free: 7.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.1072, allocations: 4 kB / 383 MB, free: 7.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.009087/0.1163, allocations: 2.412 MB / 385.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.1164, allocations: 89.03 kB / 385.5 MB, free: 4.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.1167, allocations: 285 kB / 385.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.1168, allocations: 33.7 kB / 385.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.1169, allocations: 168.4 kB / 385.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.117, allocations: 145.9 kB / 386.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.1172, allocations: 78.11 kB / 386.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1173, allocations: 342.8 kB / 386.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/0.1178, allocations: 160.8 kB / 386.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.1182, allocations: 230.6 kB / 386.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008198/0.119, allocations: 411.5 kB / 387.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.119, allocations: 0 / 387.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00101/0.1201, allocations: 488.7 kB / 387.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1201, allocations: 4 kB / 387.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1201, allocations: 8 kB / 387.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1201, allocations: 4 kB / 387.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.1207, allocations: 111.9 kB / 387.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.1207, allocations: 11.88 kB / 387.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.1211, allocations: 40 kB / 387.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.1212, allocations: 15.98 kB / 388 MB, free: 2.105 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.1213, allocations: 157.7 kB / 388.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-05/0.1214, allocations: 31.62 kB / 388.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.1233, allocations: 0.6486 MB / 388.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1233, allocations: 4 kB / 388.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1233, allocations: 7.875 kB / 388.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.1233, allocations: 8 kB / 388.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.1264, allocations: 1.276 MB / 390.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1264, allocations: 4 kB / 390.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.1268, allocations: 95.8 kB / 390.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.1284, allocations: 268.5 kB / 390.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.1284, allocations: 11.98 kB / 390.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003887/0.1323, allocations: 2.431 MB / 392.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.1323, allocations: 8.016 kB / 392.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.1345, allocations: 1.007 MB / 393.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.1347, allocations: 148.7 kB / 394 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.1347, allocations: 4 kB / 394 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/0.1352, allocations: 31.97 kB / 394.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.1353, allocations: 36.39 kB / 394.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.1354, allocations: 15.92 kB / 394.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002168/0.1356, allocations: 220.5 kB / 394.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1356, allocations: 0 / 394.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005143/0.1361, allocations: 115.9 kB / 394.5 MB, free: 11.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002457/0.1364, allocations: 139.3 kB / 394.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009297/0.1373, allocations: 445.9 kB / 395 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1373, allocations: 0 / 395 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006679/0.138, allocations: 393.4 kB / 395.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.1385, allocations: 40.39 kB / 395.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.1402, allocations: 0.9556 MB / 396.4 MB, free: 9.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1405, allocations: 0.7891 MB / 397.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.1407, allocations: 42.95 kB / 397.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.1409, allocations: 39.41 kB / 397.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1409, allocations: 0 / 397.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of Templates: time 0.01175/0.1526, allocations: 6.428 MB / 403.7 MB, free: 1.996 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)