Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001183/0.001183, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.1 MB, free: 5.625 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.0004231/0.0004232, allocations: 14.81 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 47.58 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005941/0.2199, allocations: 6.226 MB / 332.7 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.2235, allocations: 2.084 MB / 334.8 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000532/0.2241, allocations: 41.66 kB / 334.8 MB, free: 10.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006423/0.2247, allocations: 316.3 kB / 335.1 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.2264, allocations: 0.746 MB / 335.9 MB, free: 9.957 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.227, allocations: 259.3 kB / 336.1 MB, free: 9.758 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003157/0.2302, allocations: 3.166 MB / 339.3 MB, free: 6.625 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.2323, allocations: 1.969 MB / 341.3 MB, free: 4.625 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.2334, allocations: 1.016 MB / 342.3 MB, free: 3.605 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.2349, allocations: 1.327 MB / 343.6 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.2351, allocations: 160 kB / 343.8 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006998/0.2358, allocations: 259.9 kB / 344 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006212/0.2365, allocations: 0.6461 MB / 344.7 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006668/0.2371, allocations: 0.551 MB / 345.2 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003325/0.2405, allocations: 3.72 MB / 348.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2405, allocations: 0 / 348.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2405, allocations: 0 / 348.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.014e-05/0.2406, allocations: 0 / 348.9 MB, free: 12.93 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006196/0.2468, allocations: 3.145 MB / 352.1 MB, free: 9.719 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2468, allocations: 12.03 kB / 352.1 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003464/0.2503, allocations: 0.6951 MB / 352.8 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.2531, allocations: 1.631 MB / 354.4 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.2533, allocations: 201.3 kB / 354.6 MB, free: 7.117 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/0.2537, allocations: 259.9 kB / 354.9 MB, free: 6.863 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006217/0.2599, allocations: 3.607 MB / 358.5 MB, free: 3.203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/0.26, allocations: 0 / 358.5 MB, free: 3.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/0.2602, allocations: 108 kB / 358.6 MB, free: 3.098 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.2604, allocations: 97.41 kB / 358.7 MB, free: 3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005295/0.2657, allocations: 3.101 MB / 361.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/0.282, allocations: 10.56 MB / 372.3 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004723/0.2868, allocations: 4.665 MB / 377 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.2882, allocations: 0.957 MB / 378 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003843/0.2921, allocations: 2.479 MB / 380.5 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.2921, allocations: 47.38 kB / 380.5 MB, free: 12.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.595e-06/0.2921, allocations: 0 / 380.5 MB, free: 12.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006341/0.2985, allocations: 2.798 MB / 383.3 MB, free: 9.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.2986, allocations: 93.92 kB / 383.4 MB, free: 9.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.3005, allocations: 1.359 MB / 384.7 MB, free: 7.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.3006, allocations: 45.7 kB / 384.8 MB, free: 7.699 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007561/0.3013, allocations: 1.168 MB / 386 MB, free: 6.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.3016, allocations: 362.8 kB / 386.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.3017, allocations: 24 kB / 386.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3018, allocations: 353.9 kB / 386.7 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009474/0.3028, allocations: 0.5881 MB / 387.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.3039, allocations: 0.8686 MB / 388.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.3051, allocations: 0.7225 MB / 388.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.3051, allocations: 8 kB / 388.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003314/0.3084, allocations: 2.004 MB / 390.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3084, allocations: 11.94 kB / 390.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.3085, allocations: 12.03 kB / 390.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009563/0.3094, allocations: 402.3 kB / 391.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/0.3103, allocations: 227.6 kB / 391.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007245/0.3175, allocations: 6.078 MB / 397.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.3186, allocations: 158.7 kB / 397.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.3187, allocations: 48 kB / 397.8 MB, free: 10.26 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 108 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001622/0.3204, allocations: 0.8642 MB / 398.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.3207, allocations: 142.4 kB / 398.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/0.3238, allocations: 1.691 MB / 400.5 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.3238, allocations: 12 kB / 400.5 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/0.3239, allocations: 8 kB / 400.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3239, allocations: 3.984 kB / 400.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006898/0.3308, allocations: 4.016 MB / 404.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3308, allocations: 0 / 404.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.3314, allocations: 139.8 kB / 404.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009795/0.3324, allocations: 393.5 kB / 405 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.3325, allocations: 35.98 kB / 405.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007462/0.34, allocations: 6.088 MB / 411.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.34, allocations: 0 / 411.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003946/0.344, allocations: 2.539 MB / 413.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.3444, allocations: 239.2 kB / 413.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/0.3447, allocations: 35.98 kB / 414 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008576/0.3456, allocations: 107.8 kB / 414.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.3458, allocations: 88.73 kB / 414.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/0.3459, allocations: 35.98 kB / 414.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001547/0.3474, allocations: 0.9513 MB / 415.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.3475, allocations: 0 / 415.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002235/0.3497, allocations: 0.6765 MB / 415.8 MB, free: 7.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003813/0.3501, allocations: 151.1 kB / 416 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003355/0.3535, allocations: 1.824 MB / 417.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.3535, allocations: 4 kB / 417.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001846/0.3553, allocations: 1.148 MB / 419 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.3571, allocations: 300.4 kB / 419.2 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008529/0.3656, allocations: 5.561 MB / 424.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002319/0.3679, allocations: 2.172 MB / 427 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001078/0.369, allocations: 347 kB / 427.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.3693, allocations: 83.42 kB / 427.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3693, allocations: 4 kB / 427.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of Templates: time 0.03418/0.4035, allocations: 19.14 MB / 446.5 MB, free: 8.836 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)