Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007989/0.007989, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001788/0.001788, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.434/1.434, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001237/0.001237, allocations: 58.06 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0941/0.09535, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007408/0.1028, allocations: 6.441 MB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.1075, allocations: 2.597 MB / 382.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/0.1082, allocations: 20 kB / 382.2 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.1109, allocations: 1.275 MB / 383.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.1127, allocations: 0.7068 MB / 384.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.1148, allocations: 1.107 MB / 385.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.1161, allocations: 1.094 MB / 386.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.1176, allocations: 0.8953 MB / 387.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005747/0.1182, allocations: 462.2 kB / 387.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006319/0.1188, allocations: 0.5563 MB / 388.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.119, allocations: 96 kB / 388.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009295/0.1199, allocations: 415.6 kB / 388.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.1201, allocations: 231.1 kB / 389 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000483/0.1206, allocations: 0.5364 MB / 389.6 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.1224, allocations: 1.515 MB / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1224, allocations: 0 / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1224, allocations: 0 / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1225, allocations: 4 kB / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004251/0.1267, allocations: 1.656 MB / 392.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1268, allocations: 8.031 kB / 392.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003673/0.1304, allocations: 0.5694 MB / 393.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/0.1312, allocations: 0.4902 MB / 393.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/0.1313, allocations: 90.3 kB / 393.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.1315, allocations: 111.9 kB / 394 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.1331, allocations: 1.015 MB / 395 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.851e-05/0.1332, allocations: 0 / 395 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.1333, allocations: 48 kB / 395.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.1333, allocations: 28 kB / 395.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.1351, allocations: 1.036 MB / 396.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006001/0.1412, allocations: 3.831 MB / 400 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/0.1437, allocations: 2.056 MB / 402 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.1446, allocations: 447.5 kB / 402.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.1447, allocations: 98.16 kB / 402.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.1458, allocations: 490.3 kB / 403 MB, free: 2.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 4.108e-06/0.1458, allocations: 0 / 403 MB, free: 2.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009404/0.1552, allocations: 4.025 MB / 407.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.1554, allocations: 141.5 kB / 407.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.1558, allocations: 413.7 kB / 407.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.378e-05/0.1559, allocations: 49.7 kB / 407.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.1562, allocations: 443.4 kB / 408.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.1566, allocations: 425.7 kB / 408.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.1569, allocations: 226.8 kB / 408.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.157, allocations: 382.7 kB / 409.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/0.1578, allocations: 358.5 kB / 409.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.1588, allocations: 0.5915 MB / 410 MB, free: 11.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.1604, allocations: 1.001 MB / 411 MB, free: 10.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1604, allocations: 4 kB / 411 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00263/0.163, allocations: 1.436 MB / 412.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1631, allocations: 8 kB / 412.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.1631, allocations: 8 kB / 412.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008771/0.164, allocations: 355 kB / 412.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008951/0.1649, allocations: 223.7 kB / 413.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008123/0.173, allocations: 8.477 MB / 421.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/0.1738, allocations: 51.98 kB / 421.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/0.1739, allocations: 47.98 kB / 421.6 MB, free: 15.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004495/0.1743, allocations: 265.6 kB / 421.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.1745, allocations: 75.06 kB / 422 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.1769, allocations: 1.321 MB / 423.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.177, allocations: 12 kB / 423.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.177, allocations: 11.94 kB / 423.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.177, allocations: 7.969 kB / 423.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/0.1809, allocations: 2.553 MB / 425.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.1809, allocations: 4 kB / 425.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/0.1816, allocations: 151.8 kB / 426 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007703/0.1824, allocations: 335.3 kB / 426.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/0.1825, allocations: 27.98 kB / 426.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007419/0.1899, allocations: 8.112 MB / 434.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.19, allocations: 3.938 kB / 434.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.1932, allocations: 1.841 MB / 436.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.1936, allocations: 228.1 kB / 436.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.03e-05/0.1937, allocations: 27.94 kB / 436.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/0.1942, allocations: 35.98 kB / 436.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.1944, allocations: 100.8 kB / 436.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.207e-05/0.1945, allocations: 39.98 kB / 436.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003292/0.1948, allocations: 279.2 kB / 437 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1948, allocations: 0 / 437 MB, free: 14.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001171/0.196, allocations: 316 kB / 437.3 MB, free: 14.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003213/0.1963, allocations: 174.9 kB / 437.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002913/0.1993, allocations: 1.644 MB / 439.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1993, allocations: 0 / 439.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.2009, allocations: 1.15 MB / 440.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.2015, allocations: 77.61 kB / 440.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.2052, allocations: 1.972 MB / 442.3 MB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.2058, allocations: 1.025 MB / 443.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004037/0.2062, allocations: 102.4 kB / 443.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.2064, allocations: 59.42 kB / 443.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2064, allocations: 0 / 443.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of Templates: time 0.2442/0.4505, allocations: 11.27 MB / 454.8 MB, free: 69.53 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1)