Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001723/0.001723, allocations: 111.6 kB / 17.06 MB, free: 5.973 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.001754/0.001754, allocations: 200 kB / 18.01 MB, free: 5.055 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.387/1.387, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001126/0.001126, allocations: 43.94 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09194, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2097/0.3016, allocations: 6.447 MB / 380.9 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004875/0.3065, allocations: 2.586 MB / 383.5 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006425/0.3073, allocations: 18.81 kB / 383.5 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.3105, allocations: 1.288 MB / 384.8 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.3129, allocations: 0.7129 MB / 385.5 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.3152, allocations: 1.098 MB / 386.6 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.3167, allocations: 1.097 MB / 387.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.318, allocations: 0.9027 MB / 388.6 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.3188, allocations: 455.3 kB / 389.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006433/0.3194, allocations: 0.5577 MB / 389.6 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.3196, allocations: 97.59 kB / 389.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.3207, allocations: 408.8 kB / 390.1 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.3208, allocations: 235.5 kB / 390.4 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004322/0.3213, allocations: 0.53 MB / 390.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.3233, allocations: 1.519 MB / 392.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3233, allocations: 0.7188 kB / 392.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3233, allocations: 0 / 392.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.505e-05/0.3234, allocations: 4.875 kB / 392.4 MB, free: 4.449 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004153/0.3275, allocations: 1.653 MB / 394.1 MB, free: 3.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3276, allocations: 8.969 kB / 394.1 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003747/0.3313, allocations: 0.5717 MB / 394.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/0.3321, allocations: 0.4978 MB / 395.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.122e-05/0.3321, allocations: 89.39 kB / 395.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.3323, allocations: 115 kB / 395.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.3341, allocations: 1.011 MB / 396.4 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.3342, allocations: 1.281 kB / 396.4 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/0.3343, allocations: 46.45 kB / 396.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.3343, allocations: 31.75 kB / 396.4 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.3361, allocations: 1.028 MB / 397.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005407/0.3415, allocations: 3.839 MB / 401.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.3437, allocations: 2.05 MB / 403.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007933/0.3445, allocations: 452.5 kB / 403.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.3446, allocations: 96.22 kB / 403.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008227/0.3454, allocations: 493.5 kB / 404.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 2.706e-06/0.3454, allocations: 0 / 404.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.008727/0.3542, allocations: 4.021 MB / 408.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.3543, allocations: 147 kB / 408.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.3548, allocations: 413.2 kB / 408.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.3548, allocations: 50.17 kB / 409 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.3551, allocations: 445.6 kB / 409.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/0.3554, allocations: 431.7 kB / 409.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.3558, allocations: 217 kB / 410.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3559, allocations: 386.2 kB / 410.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/0.3566, allocations: 361 kB / 410.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008189/0.3574, allocations: 0.5868 MB / 411.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.3589, allocations: 0.9948 MB / 412.4 MB, free: 7.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3589, allocations: 2.75 kB / 412.4 MB, free: 7.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002607/0.3615, allocations: 1.44 MB / 413.8 MB, free: 6.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3616, allocations: 8.25 kB / 413.8 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.3616, allocations: 9.5 kB / 413.8 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008909/0.3625, allocations: 346 kB / 414.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009107/0.3634, allocations: 224.8 kB / 414.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00767/0.3711, allocations: 8.481 MB / 422.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.3721, allocations: 47.98 kB / 422.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.3723, allocations: 50.41 kB / 423 MB, free: 13.68 MB / 350.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.0006539/0.373, allocations: 261.7 kB / 423.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.3732, allocations: 79 kB / 423.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.3759, allocations: 1.321 MB / 424.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.3759, allocations: 15.98 kB / 424.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.456e-05/0.3759, allocations: 11.94 kB / 424.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.3759, allocations: 3.984 kB / 424.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004855/0.3808, allocations: 2.569 MB / 427.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.3808, allocations: 0 / 427.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007169/0.3815, allocations: 155.8 kB / 427.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008217/0.3824, allocations: 327.3 kB / 427.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-05/0.3825, allocations: 27.98 kB / 427.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007638/0.3901, allocations: 8.096 MB / 435.8 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.3902, allocations: 7.938 kB / 435.8 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.3937, allocations: 1.849 MB / 437.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.3942, allocations: 224.1 kB / 437.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.3943, allocations: 24 kB / 437.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005656/0.3949, allocations: 39.98 kB / 437.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.3951, allocations: 100.8 kB / 438 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.068e-05/0.3952, allocations: 35.98 kB / 438.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003457/0.3956, allocations: 279.2 kB / 438.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3956, allocations: 0 / 438.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00139/0.397, allocations: 319.9 kB / 438.7 MB, free: 13.22 MB / 366.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.0003226/0.3973, allocations: 183.1 kB / 438.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.4002, allocations: 1.644 MB / 440.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.4002, allocations: 0 / 440.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.4019, allocations: 1.15 MB / 441.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.4027, allocations: 75.3 kB / 441.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.4066, allocations: 1.968 MB / 443.7 MB, free: 8.051 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.4073, allocations: 1.025 MB / 444.7 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004586/0.4078, allocations: 106.4 kB / 444.8 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.408, allocations: 59.42 kB / 444.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of SimCode: time 2.344e-06/0.408, allocations: 0 / 444.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of Templates: time 0.02138/0.4293, allocations: 11.28 MB / 456.1 MB, free: 11.54 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1)