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.005951/0.005951, allocations: 102 kB / 15.73 MB, free: 6.035 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.001214/0.001214, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.457/1.457, 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.00131/0.00131, allocations: 50.66 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1136, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007853/0.1215, allocations: 6.433 MB / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004732/0.1263, allocations: 2.601 MB / 382.2 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.1268, allocations: 16 kB / 382.2 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002921/0.1298, allocations: 1.279 MB / 383.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.1315, allocations: 0.7107 MB / 384.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.1336, allocations: 1.102 MB / 385.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.1349, allocations: 1.098 MB / 386.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.1361, allocations: 0.9031 MB / 387.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.1366, allocations: 446.3 kB / 387.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006453/0.1373, allocations: 0.5641 MB / 388.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.1374, allocations: 96 kB / 388.4 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008549/0.1383, allocations: 415.6 kB / 388.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.1385, allocations: 231.1 kB / 389 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.139, allocations: 0.5286 MB / 389.6 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.1406, allocations: 1.518 MB / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1406, allocations: 0 / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1406, allocations: 4 kB / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.1406, allocations: 0 / 391.1 MB, free: 15.3 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.004169/0.1448, allocations: 1.648 MB / 392.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1448, allocations: 16.03 kB / 392.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003799/0.1487, allocations: 0.5733 MB / 393.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000831/0.1495, allocations: 0.4941 MB / 393.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-05/0.1496, allocations: 90.3 kB / 393.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.1498, allocations: 115.9 kB / 394 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.1517, allocations: 1.007 MB / 395 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.1518, allocations: 7.984 kB / 395 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.1519, allocations: 44 kB / 395.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.1519, allocations: 28 kB / 395.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.1538, allocations: 1.028 MB / 396.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006243/0.1601, allocations: 3.827 MB / 400 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.1624, allocations: 2.06 MB / 402 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007877/0.1632, allocations: 443.5 kB / 402.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.1633, allocations: 102.2 kB / 402.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008547/0.1642, allocations: 486.3 kB / 403 MB, free: 2.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 3.165e-06/0.1642, allocations: 0 / 403 MB, free: 2.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009063/0.1733, allocations: 4.025 MB / 407.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/0.1734, allocations: 141.5 kB / 407.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/0.1739, allocations: 413.7 kB / 407.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/0.1739, allocations: 49.7 kB / 407.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.1743, allocations: 451.4 kB / 408.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.1746, allocations: 425.7 kB / 408.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/0.1749, allocations: 214.9 kB / 408.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1751, allocations: 390.6 kB / 409.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006891/0.1758, allocations: 362.5 kB / 409.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008319/0.1766, allocations: 0.5876 MB / 410 MB, free: 11.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.1782, allocations: 1.001 MB / 411 MB, free: 10.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1782, allocations: 0 / 411 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002508/0.1807, allocations: 1.444 MB / 412.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.1807, allocations: 4 kB / 412.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.1808, allocations: 8 kB / 412.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008969/0.1817, allocations: 351.1 kB / 412.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/0.1825, allocations: 219.6 kB / 413.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007921/0.1904, allocations: 8.484 MB / 421.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007573/0.1912, allocations: 51.98 kB / 421.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.1914, allocations: 44 kB / 421.6 MB, free: 15.12 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.0004973/0.1919, allocations: 269.6 kB / 421.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.192, allocations: 75.06 kB / 422 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.1946, allocations: 1.325 MB / 423.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.1946, allocations: 12 kB / 423.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.1946, allocations: 11.94 kB / 423.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.1946, allocations: 7.969 kB / 423.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/0.1988, allocations: 2.557 MB / 425.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.1988, allocations: 0 / 425.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007022/0.1996, allocations: 151.8 kB / 426 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008186/0.2004, allocations: 331.3 kB / 426.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.514e-05/0.2005, allocations: 32 kB / 426.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007214/0.2077, allocations: 8.112 MB / 434.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2077, allocations: 4 kB / 434.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.2109, allocations: 1.845 MB / 436.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/0.2113, allocations: 220.1 kB / 436.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.2114, allocations: 35.92 kB / 436.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.212, allocations: 39.98 kB / 436.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.2122, allocations: 96.8 kB / 436.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/0.2123, allocations: 36 kB / 436.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003069/0.2126, allocations: 279.2 kB / 437 MB, free: 14.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2126, allocations: 0 / 437 MB, free: 14.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001264/0.2139, allocations: 320 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.0003117/0.2142, allocations: 175 kB / 437.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002818/0.217, allocations: 1.651 MB / 439.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.217, allocations: 1.438 kB / 439.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.2188, allocations: 1.142 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.0007085/0.2196, allocations: 77.55 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.00396/0.2235, allocations: 1.968 MB / 442.4 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008569/0.2244, allocations: 1.028 MB / 443.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00042/0.2249, allocations: 110.4 kB / 443.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.225, allocations: 59.42 kB / 443.6 MB, free: 8.262 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.225, allocations: 0 / 443.6 MB, free: 8.262 MB / 382.1 MB Notification: Performance of Templates: time 0.2221/0.4472, allocations: 11.26 MB / 454.8 MB, free: 69.95 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)