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.001225/0.001225, allocations: 93.38 kB / 16.31 MB, free: 5.582 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.001395/0.001395, allocations: 181.2 kB / 17.21 MB, free: 5.5 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.443/1.443, allocations: 205.4 MB / 223.4 MB, free: 5.23 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.000458/0.000458, allocations: 8 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2524, allocations: 47.59 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.00612/0.2586, allocations: 5.575 MB / 333.3 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004599/0.2632, allocations: 2.315 MB / 335.6 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005592/0.2638, allocations: 26.97 kB / 335.6 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008097/0.2646, allocations: 265.8 kB / 335.9 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.2664, allocations: 0.5914 MB / 336.5 MB, free: 10.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.2682, allocations: 0.8763 MB / 337.4 MB, free: 9.816 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.2693, allocations: 0.9967 MB / 338.4 MB, free: 8.809 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.2714, allocations: 1.191 MB / 339.6 MB, free: 7.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005904/0.272, allocations: 366.5 kB / 339.9 MB, free: 7.211 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006715/0.2727, allocations: 481.9 kB / 340.4 MB, free: 6.738 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.499e-05/0.2728, allocations: 48 kB / 340.4 MB, free: 6.691 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.2739, allocations: 343.6 kB / 340.8 MB, free: 6.355 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.2741, allocations: 167.3 kB / 340.9 MB, free: 6.191 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.2744, allocations: 209.1 kB / 341.1 MB, free: 5.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.2756, allocations: 1.127 MB / 342.3 MB, free: 4.852 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.2756, allocations: 0 / 342.3 MB, free: 4.852 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2757, allocations: 4 kB / 342.3 MB, free: 4.848 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.2757, allocations: 0 / 342.3 MB, free: 4.848 MB / 270.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.004257/0.2799, allocations: 1.468 MB / 343.7 MB, free: 3.328 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.28, allocations: 12.03 kB / 343.8 MB, free: 3.316 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/0.2836, allocations: 0.5802 MB / 344.3 MB, free: 2.734 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000659/0.2843, allocations: 489.3 kB / 344.8 MB, free: 2.215 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.2844, allocations: 82.3 kB / 344.9 MB, free: 2.133 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.2845, allocations: 120 kB / 345 MB, free: 2.016 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.2864, allocations: 1.007 MB / 346 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.2865, allocations: 3.906 kB / 346 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.2866, allocations: 48 kB / 346.1 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.2866, allocations: 31.98 kB / 346.1 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.2885, allocations: 1.036 MB / 347.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00622/0.2947, allocations: 3.885 MB / 351 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.2971, allocations: 2.052 MB / 353.1 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007745/0.2979, allocations: 436.3 kB / 353.5 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.298, allocations: 102.2 kB / 353.6 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000892/0.2989, allocations: 478.5 kB / 354.1 MB, free: 8.387 MB / 286.1 MB Notification: Performance of pre-optimization done (n=98): time 3.186e-06/0.2989, allocations: 0 / 354.1 MB, free: 8.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=127): time 0.009335/0.3083, allocations: 4.057 MB / 358.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.3084, allocations: 149.5 kB / 358.3 MB, free: 4.031 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.309, allocations: 409.8 kB / 358.7 MB, free: 3.629 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/0.3091, allocations: 45.7 kB / 358.7 MB, free: 3.578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.3095, allocations: 435.5 kB / 359.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004362/0.31, allocations: 433.7 kB / 359.6 MB, free: 2.715 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/0.31, allocations: 24 kB / 359.6 MB, free: 2.691 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.3103, allocations: 390.7 kB / 360 MB, free: 2.301 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007261/0.311, allocations: 362.5 kB / 360.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009895/0.312, allocations: 0.5798 MB / 360.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008882/0.3129, allocations: 455.8 kB / 361.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.3129, allocations: 4 kB / 361.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002844/0.3158, allocations: 1.433 MB / 362.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.3158, allocations: 8 kB / 362.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.3158, allocations: 4 kB / 362.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.3168, allocations: 359.1 kB / 363.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/0.3178, allocations: 223.6 kB / 363.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008946/0.3267, allocations: 7.724 MB / 371.1 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.3279, allocations: 55.95 kB / 371.1 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.3282, allocations: 51.98 kB / 371.2 MB, free: 6.422 MB / 302.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,$PRE.rootMeanSquare.mean.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 19,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008721/0.3291, allocations: 261.4 kB / 371.4 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.3292, allocations: 75.11 kB / 371.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/0.332, allocations: 1.321 MB / 372.8 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.332, allocations: 12 kB / 372.9 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-05/0.332, allocations: 8 kB / 372.9 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.3321, allocations: 7.969 kB / 372.9 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004882/0.3369, allocations: 2.569 MB / 375.4 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.337, allocations: 4 kB / 375.4 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/0.3377, allocations: 160 kB / 375.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008281/0.3385, allocations: 319.2 kB / 375.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.163e-05/0.3386, allocations: 28.11 kB / 375.9 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007621/0.3463, allocations: 7.431 MB / 383.4 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-06/0.3463, allocations: 12.05 kB / 383.4 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/0.3498, allocations: 1.824 MB / 385.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/0.3503, allocations: 228.1 kB / 385.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.3505, allocations: 23.98 kB / 385.4 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.3511, allocations: 43.98 kB / 385.5 MB, free: 7.383 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.3513, allocations: 100.8 kB / 385.6 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.157e-05/0.3514, allocations: 32 kB / 385.6 MB, free: 7.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003959/0.3518, allocations: 275.2 kB / 385.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3518, allocations: 0 / 385.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00153/0.3534, allocations: 328 kB / 386.2 MB, free: 6.664 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 19,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003704/0.3537, allocations: 159 kB / 386.4 MB, free: 6.496 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003025/0.3568, allocations: 1.64 MB / 388 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3568, allocations: 0 / 388 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.3586, allocations: 1.159 MB / 389.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.3593, allocations: 77.55 kB / 389.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004751/0.3641, allocations: 2.444 MB / 391.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009167/0.365, allocations: 1.028 MB / 392.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000566/0.3656, allocations: 106.4 kB / 392.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.3658, allocations: 55.42 kB / 392.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3658, allocations: 0 / 392.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of Templates: time 0.021/0.3868, allocations: 10.12 MB / 403 MB, free: 5.684 MB / 334.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)